Infinite Logo Carousel with only CSS that showcases a continuous loop of logos, with fading gradient effect on the edges of the carousel.
Integrate code on your website to display logos of companies, images, or anything else. It's a really cool animation, using only CSS. No javascript needed!!
- Layout: The
.wrapperclass contains multiple.itemelements, each holding an image. You can place your own images under this class. - Positioning: The logos are positioned absolutely, and their initial position is calculated to be outside the visible area.
- Animation: The
scrollLeftanimation moves the items from right to left. Theanimation-delayensures that items start scrolling one after another, creating a seamless flow. - Loop: The
animation-iteration-count: infiniteensures that the scrolling repeats continuously.
💡 CSS variables are used for easier reusability and dynamic styling
For live demo, check out my codepen
Open an issue, submit a pull request or contact me for any contributions
Andrew Obando
Feel free to star ⭐ this repository if you find it helpful!