3D tilt / Flip

Use controlled perspective and rotation for card flips or hover depth.

Preview

Rotation around the X or Y axis creates a plane-turning effect within a perspective scene.

Preview
Front
Back

Implement 3D tilt / Flip: Use controlled perspective and rotation for card flips or hover depth. Use Duration 280ms, Flip angle 180deg, Perspective distance 800px, Easing soft. Trigger it once when state changes and keep it replayable. Use semantic HTML, scope CSS to .motion-demo--3d-tilt-flip, and mount the provided vanilla JavaScript interaction runtime. Provide equivalent low-motion behavior for prefers-reduced-motion and .force-reduced-motion.

Learn more