Pure CSS Carousels

CSS carousels rotate through slides automatically or on click, built from @keyframes, scroll snapping or the radio-button technique instead of a JavaScript library.

11 free examples, most liked first. Click one to preview it and copy the code.

Carousels FAQ

Is it possible to build a carousel without JavaScript?

Yes. Scroll snapping gives swipeable slides, and @keyframes can auto-advance them. The carousel examples here show both.

How do I use these pure CSS carousels?

Open an example, copy the HTML and the CSS, and paste them into your page. There is nothing to install and no JavaScript to load.

More pure CSS examples