Holographic Card
A collectible card tilts in 3D with the cursor as holographic foil and glare shift with the angle
This effect uses fixed demo content, so custom text isn’t applied.
Hannah's Motion Library
Web motion effects × AI prompts
AI prompt
A collectible card (image on top, title and number below) tilts in 3D space with the cursor (up to about 13°); its surface has a layer of iridescent holographic foil whose position follows the cursor and gets more visible the more it tilts, plus a soft glare following the cursor; when the cursor leaves the card straightens and the foil fades. (CSS + JS: on mousemove compute the cursor's relative position on the card from 0 to 1, set rotateX/rotateY and CSS variables --px, --py; the foil layer is iridescent repeating-linear-gradient stripes with mix-blend-mode:color-dodge and background-position from --px/--py; the glare is a radial-gradient with overlay; perspective on the parent)
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 →