Interface motion / CSS
Number flip
A changing digit flips across a horizontal hinge like a station display.
Number flipPrompt recipe · preview pending
Prompt recipe; no reproduced preview yet. You can use the prompt now; this recipe has not yet been reproduced for the gallery.
Make it fit your project.
Split each visual digit into clipped top and bottom halves. Rotate the outgoing upper half to 90 degrees, then rotate the incoming lower half into place over a combined 360ms. Expose one static accessible number and hide decorative digit layers from screen readers.
Build and check.
- Confirm the supplied content, target environment, and required assets before implementing.
- Split each visual digit into clipped top and bottom halves. Rotate the outgoing upper half to 90 degrees, then rotate the incoming lower half into place over a combined 360ms. Expose one static accessible number and hide decorative digit layers from screen readers.
- Implement idle, active, keyboard, touch, reduced-motion, and failure states as relevant.
- Inspect the opening, midpoint, and final state at desktop and mobile sizes; report any dependency or output limitation.
Know the limits.
- Keep the final number legible without perspective support. Avoid repeating announcements per frame.
- The prompt guides a coding agent; output quality depends on its implementation and review.
Want us to build it?
Send an optional project brief. We’ll receive your contact details, project description, and this recipe’s ID.
Catalog 2026-10-22.a82e12098f76 · Source revision sha256:dfbe6519cbc4fc84acc4cbf926d8a01c7f2e248dd46cedd67a9112b0e928c2ba