3D Flip Card Generator
A card that turns over on hover.
The two faces sit in the same grid cell. backface-visibility: hidden hides the back until rotateY(180deg) brings it around. The parent needs perspective or the turn looks flat.
Frequently asked questions
Does hover work on a phone?
Not reliably. Also flip on :focus-within so a tap or keyboard focus shows the back. The copied CSS includes that.
Can each face have its own content?
Yes. Put any HTML inside the front and back elements. Keep the height fixed so the card does not jump.