170

Letter Hover Bounce

Each letter the cursor touches bounces on its own

TextHover & clickHeadline & heroEmphasisCSSCSS keyframes

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

The headline is split into letters; whichever letter the cursor passes over bounces up once and briefly turns the accent color (about 0.5 s, springy), so a quick sweep across makes a wave; each letter's animation is independent and returns to rest afterward. (How: wrap each letter in an inline-block span, on pointerenter remove and re-add the animation class to replay it, remove it on animationend; keyframes translateY(-35%) scale(1.12) at 30%)

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 text effects

346 more motion effectsText, buttons, cards, backgrounds, cursors… preview them all and copy AI prompts

Browse all effects →