Folding Card
Like a real card, the cover opens in 3D from the left to reveal an image and text inside
This effect uses fixed demo content, so custom text isn’t applied.
Hannah's Motion Library
Web motion effects × AI prompts
AI prompt
A folded invitation card: at first only the cover shows (accent background, big title and “Tap to open”); tapping opens the cover 180° to the left around its left edge in 3D (about 0.9 s); the inside of the cover is an image and the right side reveals the invitation text and date; the whole card shifts right at the same time so it stays centered once open; tapping again closes it. (CSS 3D: perspective on the container; the cover transform-origin:left, preserve-3d, front and back backface-visibility:hidden with the back rotateY(180deg); a GSAP timeline tweens the cover rotationY 0 → −180 and the card xPercent 0 → 50 together, toggling play / reverse)
When you copy it, a note to “match the site’s existing theme colors” is added automatically, so you don’t need to specify colors.
How to use it
- Tap “Copy AI prompt”.
- Paste it into an AI such as ChatGPT or Claude, and tell it which element on your site to apply it to (for example, the homepage headline or a buy button).
- The AI writes code that matches your site’s colors. Paste it into your project, then fine-tune the timing and distances.
More card & group effects
346 more motion effectsText, buttons, cards, backgrounds, cursors… preview them all and copy AI prompts
Browse all effects →