Infinite Horizontal Scroll Animation in React JS | Marquee Effect with Pause on Hover

Опубликовано: 07 Апрель 2026
на канале: Ecem Gokdogan
5,530
123

This tutorial shows how to create an infinite horizontal scroll animation in React JS, combining CSS animations with dynamic rendering of sliders. The project features multiple sliders with images scrolling in opposite directions, using React components for modularity and CSS variables to control properties like speed, direction, and smooth transitions. It also demonstrates how to duplicate images for continuous scrolling, pause animations on hover, and apply keyframes for seamless movement.

🌱 Inspired by Kevin Powell - https://codepen.io/kevinpowell/pen/Ba...


⭐Lists:
Mini React Projects:    • Mini React Projects  
Swiper JS:    • Swiper JS  
GSAP:    • GSAP  
Slider with Vanilla Javascript & CSS:    • Slider with Vanilla Javascript & CSS  
Background Animation:    • Background Animation  
CSS Hover Effect:    • CSS Hover Effect  


👩‍💻 My Social Profiles:
X: https://x.com/ecemgo
Codepen: https://codepen.io/ecemgo
GitHub: https://github.com/ecemgo
TikTok:   / ecemgo  


🕔 Timestamps:
0:00 – Intro
0:30 – App.js
1:12 – App.css
3:29 – Slider.js
4:39 – Slider.css