3D & Depth

Card Flip

Also called Flip card, Card flip 3D, 3D flip on hover

A card rotates 180 degrees around an axis to reveal its back face.

Team cards, flash cards, pricing details

  • horizontal (Y-axis)
  • vertical (X-axis)
  • click flip
  • horizontal flip (rotateY)
  • vertical flip (rotateX)

View demo source

Prompt

Replace [where] with the part of your page and paste the prompt into your AI agent. Each prompt includes the name of the motion, so next time you can simply ask for it by name.

Add a "Card Flip" effect (also called a flip card or card flip 3D) to [where].
When the pointer is over the card, it should turn over around its vertical axis in perspective to show its back face, and turn back when the pointer leaves: smooth and steady.
Hide each face's back side so the two never show through each other, and make the flip work on keyboard focus and with a tap on touch devices.

Replace [where] with the part of your page and paste the prompt into your AI agent. Each prompt includes the name of the motion, so next time you can simply ask for it by name.