Choose a carousel type
Pick a card to open a large preview with its settings and code.
You can build a carousel without JavaScript using CSS scroll-snap, @keyframes and 3D transforms. Preview 60 carousels, from spirals to infinite loops, change the card count and speed, and copy the HTML and CSS as they are.
Pick a card to open a large preview with its settings and code.
A carousel shows images or cards in a row (or a column, or a spiral) that you swipe through or that move on their own. Use scroll snap for swiping, an infinite loop for things that move by themselves, and a spiral or coverflow where you want to catch the eye.
| Type | Languages | Main techniques | Browsers | Good for |
|---|---|---|---|---|
| Tornado, helix, double helix, swirl, spiral staircase, cone | CSS | @keyframes, transforms | All major browsers | Hero sections, portfolios |
| Sphere, Saturn ring, tunnel, wavy ring, arch, flip board, page turn, wavy floor, Möbius ring, panorama | CSS | 3D transforms | All major browsers | Campaigns, portfolios, eye-catching spots |
| Scattered photos, card stack cycle | CSS | :hover, @keyframes | All major browsers | Photo albums, testimonials |
| Scroll-driven helix, scroll down to move sideways, scroll-driven dial | CSS, JS | animation-timeline: scroll() | All major browsers (CSS in Chrome and Edge, JS elsewhere) | Long product stories |
| Infinite, two-row, vertical, diagonal, wave, perspective, circular and zigzag loops | CSS | @keyframes | All major browsers | Logos, clients, testimonials, news |
| Scroll snap, responsive card count | CSS | scroll-snap, container queries | All major browsers | Mobile product and article lists |
| With thumbnails, dot-controlled slides | CSS | radio buttons, :has() | All major browsers | Product photos, portfolio details |
| Autoplay with progress bars, full-width fade | CSS | @keyframes | All major browsers | Hero photos, announcements |
| Buttons and dots | CSS, JS | ::scroll-button, ::scroll-marker | All major browsers (CSS in Chrome and Edge 135+, JS elsewhere) | Photo slides |
| Center zoom, coverflow, parallax, blur at the edges | CSS, JS | animation-timeline: view() | All major browsers (CSS in Chrome and Edge, JS elsewhere) | Showing one product at a time |
| Fan, accordion, bento tiles, slanted panels, hexagons, hanging cards | CSS | :hover, clip-path, grid | All major browsers | Menus and category entrances |
| Zoom transition, curtain wipe, blur to focus | CSS | @keyframes, clip-path, filter | All major browsers | Hero photos |
| Tile flip transition, background follows the slide | CSS, JS | transitions, IntersectionObserver | All major browsers | Campaigns, showing product colors |
| Inertia drag, bounce and snap, skew on speed, drag-to-spin helix, swipe card stack, stretchy drag | CSS, JS | Pointer Events | All major browsers | Tactile portfolios, mobile galleries |
| Slow-on-hover loop, numbered, dial | CSS, JS | Web Animations, scroll-snap | All major browsers | Logo strips, photo slides, menu entrances |
Check which browsers support scroll timelines and ::scroll-marker in Chrome for Developers: Carousels with CSS and MDN: Creating CSS carousels. The exported code stays still for people who turn on reduced motion.