210

Split Screen Scroll

As text scrolls on the right, the pinned image on the left switches to match

Layout & pageOn scrollScroll effectHeadline & heroGSAPSticky · ScrollTrigger

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

The screen is split into two columns: the left is a pinned (sticky) large image area and the right holds scrolling text chapters; whenever a chapter on the right reaches the middle of the screen, the left image cross-fades to that chapter's image and eases from slightly enlarged back to normal size, creating a synchronized image-and-text storytelling experience. (CSS position:sticky + GSAP ScrollTrigger: each chapter start "top 55%", end "bottom 55%", onToggle switching the active class of its image on the left; images transition opacity and scale)

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 layout & page effects

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

Browse all effects →