An eye-catching 3D flip card. Hovering rotates the card on its Y-axis to reveal a second face — perfect for team profiles, product highlights or feature callouts.
How it works
The outer card sets a perspective. The inner wrapper uses transform-style: preserve-3d and rotates 180° on hover. Each face uses backface-visibility: hidden so only the side facing you is visible.
How to use it
Put your front content in .front and the reveal in .back.
Change the gradients or drop in an image.
For touch devices, trigger the flip with a class toggle on tap instead of hover.