112

Hover Lift Card

On hover the card lifts, the shadow deepens and the thumbnail zooms

Card & groupHover & clickUI interactionCSSCSS hover

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

A row of portfolio cards (thumbnail on top, title and a text line below). When the mouse moves over a card, it lifts slightly with a deeper, larger shadow, and the thumbnail slowly zooms to about 1.15× inside its frame (the frame stays, the image is cropped); on leaving it smoothly returns. About 0.45–0.6 s, ease-out. (CSS: cards transition transform and box-shadow, translateY(-8px) on :hover; thumbnail frame overflow:hidden, inner image transform:scale(1.14))

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 →