182

Breathe

The element slowly grows and shrinks, like breathing

TextIdle loopEmphasisLogo & brandCSSCSS keyframes

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

Text or an element keeps slowly growing to about 1.07× and shrinking back, while its opacity rises and falls gently between 0.82 and 1; one cycle is about 3.2 s with ease-in-out at both ends, like breathing. Good for emphasis or idle states. (CSS: keyframes 0%/100% scale(1), 50% scale(1.07), ease-in-out, infinite)

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 →