131

Soft Mask Reveal

An image is revealed left to right by a soft gradient edge

Image & mediaEnterHeadline & heroTransitionGSAPSoft mask

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

On entrance, a gradient mask with a feathered edge slowly sweeps from left to right, revealing the image softly (not a hard straight cut), while the image eases from 1.08× and slightly left back to its normal size and position, about 1.9–2.3 s with a smooth ease-out; quieter and more refined than a hard-edged mask. (CSS + GSAP: the frame uses mask:linear-gradient(90deg, #000 var(--p), transparent calc(var(--p) + 25%)), with GSAP tweening --p from -25 to 100; the inner image scale 1.08→1, x -8→0)

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 image & media effects

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

Browse all effects →