169

Tooltip Pop

Hovering an icon pops a tooltip up with a spring

Form & controlHover & clickUI interactionApp UICSSCSS hover

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

A row of round icon buttons; when the mouse moves onto one, a tooltip with a small triangular arrow pops up above it, springing from about 60% size and slightly lower, scaling up from the arrow into place (about 0.3 s with a slight overshoot), and fades and shrinks back on leaving. (CSS: tooltip position:absolute with transform-origin at the arrow, on hover scale(0.6)→1 + translateY + opacity, transition cubic-bezier(.3,1.5,.5,1); remember pointer-events:none to prevent flicker)

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 form & control effects

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

Browse all effects →