A worked example, rendered from real sample data. Sign in to run the tool on your own input.
w=240px h=320px front=#6366f1 back=#0ea5e9.flip { perspective: 1000px; width: 240px; height: 320px; }
.flip-inner { position: relative; width: 100%; height: 100%; transition: transform 600ms; transform-style: preserve-3d; }
.flip:hover .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 12px; }
.flip-front { background: #6366f1; color: #fff; }
.flip-back { background: #0ea5e9; color: #fff; transform: rotateY(180deg); }
3D hover-flip card using perspective + backface-visibility. Part of the DevTools Surf developer suite. Browse more tools in the CSS collection.