158

Image Parallax in Frame

Images move slower than the scroll inside their frames, adding depth

Image & mediaOn scrollScroll effectHeadline & heroGSAPScrollTrigger scrub

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

A column of images, each in a fixed frame that crops the overflow, with the image a bit taller than the frame; while scrolling, each image shifts the opposite way inside its frame at a slower speed (from about −12% to +12%), like scenery outside a window, adding more depth than scrolling as one block; a short caption sits under each image. (GSAP: frame overflow:hidden, inner image about 128% tall, one ScrollTrigger per image with start "top bottom", end "bottom top", scrub yPercent -12→12)

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 →