Flip card
Pure CSSHover, tap or focus to flip. The back face is hidden until it turns toward you.
Every one has a live demo, a step-by-step explanation and code you can edit and paste into your own project.
Hover, tap or focus to flip. The back face is hidden until it turns toward you.
Panels arranged on a circle. The radius is computed in Sass with math.tan().
JS gives each cover its offset from the active one; CSS calc() does the placement and easing.
Four slides on the sides of a box. JS counts steps; CSS turns the box by 90° per step.
Click the deck: the top card flies off and returns at the back. JS only reassigns positions.
Cover and pages hinge on the spine, each opening to a slightly different angle.