Library / Interaction & UX patterns / Parallax scrolling
No. 117·noun·also called parallax, scroll effect, scroll animation

Parallax scrolling

A scroll effect where background and foreground move at different speeds, often with elements fading or sliding in as you pass them.

SPECIMEN · DIAGRAM · LAYERS
Foreground textScrolls at normal speed
Midground graphicsScrolls a little slower
Background imageScrolls slowest, creating depth
Reveal elementsFade or slide in as they enter view
Definition

What it is

Parallax scrolling is when you scroll and different parts of the page move at different speeds. A background image might drift slowly while the text slides past at normal speed. That gap creates a sense of depth.

People often use the word for a wider family of scroll effects too: headings that fade in as they enter the screen, images that slide up, a header that shrinks. Strictly, parallax is the speed difference. The appearing is a scroll-triggered reveal. Both are tied to scroll position, and a good brief names which one you want.

Use it on marketing pages, product launches, and storytelling pages where you want a moment of polish. Go lightly in dashboards and tools, where it distracts. It can also slow the page and make some people feel queasy, so you should ask for a reduced-motion fallback.

It is not infinite scroll, which loads more content as you reach the bottom. It is also not a sticky header, which simply stays put.

Say it like a builder

How to ask for it

Vague

“I want it so when you scroll, part of the page moves and other things appear. Make it look cool.”

Precise

“On the landing page, add parallax scrolling to the hero background so it moves at about half the speed of the foreground text. Fade in each feature section as it enters the viewport, once only, and turn off all motion for users with reduced-motion settings.”

Why it works

"Moves and things appear" leaves open which parts move, how fast, and what triggers the appearing; the term separates the depth effect from reveals and the prompt sets speed, trigger, and accessibility.

In the wild

You've seen this in

  • AApple's product pages, where the device image shifts and text fades in as you scroll
  • SStripe's homepage, with layered graphics that move at different speeds
  • LLong-form news features like the New York Times' interactive stories
Usage note

Often confused with