270

Scroll Flip Card

As you scroll, the card flips in 3D to its back while growing slightly

Card & groupOn scrollScroll effectUI interactionGSAPScrollTrigger

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

A card in the center of the screen with an image on the front and text on the back (the back in the accent color): as the user scrolls down, the card flips 180° in 3D around its vertical axis with scroll progress while growing from 0.85× to 1×; halfway through it's edge-on to the viewer, and at the end the back is fully shown; scrolling back flips it to the front. (GSAP ScrollTrigger scrub: container pinned or sticky, timeline fromTo rotationY 0 → 180; perspective on the parent, the card transform-style:preserve-3d, both faces backface-visibility:hidden, the back pre-rotated rotateY(180deg))

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

  1. Tap “Copy AI prompt”.
  2. 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).
  3. 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 →