Skip to content
All effects

3D carousel ring

Cards standing on a slowly turning ring that you can drag, step through or pause by hovering.

3D and motion

This is the real effect. Scroll or move your mouse inside the frame to try it.

The prompt

Turn [the cards I point to] into a 3D carousel ring with CSS 3D transforms (no WebGL needed): the cards stand in a circle that slowly turns. Layout: place the cards on a ring with transform: rotateY(angle) translateZ(radius). Calculate the radius from the card width and the number of cards so they don't overlap. The stage has perspective (around 1200px) and the ring is tilted slightly so you look at it from a bit above. Behaviour: the ring turns slowly by itself and pauses while the mouse is over it. Visitors can drag it horizontally (with a little inertia after release), and two arrow buttons step one card forward or back with a smooth ease. Cards on the far side fade and blur a little based on their angle, so the front card is clearly in focus. Clicking the front card opens its link. Accessibility: arrow buttons and cards work with the keyboard, the cards stay a normal list in the HTML. With prefers-reduced-motion: no auto rotation, the arrows jump without animation. On small screens, use a smaller radius. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.

What it is

Cards standing on a ring that slowly turns, like a carousel at a fair. Hover and it stops, drag it and it follows your hand.

When it works

For showing a body of work, a team or a set of products where the feeling of many matters more than reading every single one. On the Living with Prompts homepage the work is shown like this.

Get it right

  • Fade the cards on the far side, so the front card is clearly the one to look at.
  • Always pause on hover. Nobody can click a moving target.
  • Keep it a normal list in the HTML, so it still works without the 3D.

Also called

  • Rotating 3D carousel
  • Cylinder carousel
  • Card ring slider
  • Circular 3D gallery

More effects.

All effects