Glossary · Web Design

Parallax Scrolling

PAIR-uh-laks SKROH-lingnoun

Parallax scrolling is a technique where background elements move slower than foreground content to create depth.

Part of speech
noun
Pronunciation
PAIR-uh-laks SKROH-ling
Origin
From the Greek 'parallaxis,' meaning alteration, the same optical effect where nearby objects appear to move faster than distant ones, plus 'scrolling.'

What is Parallax Scrolling?

Parallax scrolling is a technique where background elements move slower than foreground content as the user scrolls, creating an illusion of depth on a flat screen. As the visitor moves down a page, near layers travel at close to normal speed while distant layers drift more slowly, so the composition seems to have physical space between its planes. The effect can be subtle, a background photograph easing gently behind sharper foreground text, or dramatic, with multiple layers moving at different rates to produce an immersive, almost three-dimensional scene.

Parallax scrolling works by tying the movement of elements to the scroll position and assigning different rates of movement to different layers. Foreground content might move one-to-one with the scroll, while a background layer moves at a fraction of that speed, and the difference in speed is what the eye reads as distance. On the web this is implemented with CSS techniques or with JavaScript that listens to scroll events and repositions layers accordingly. Because it runs while the user scrolls, parallax is performance-sensitive: to stay smooth it must animate efficiently, avoid forcing the browser to recalculate layout on every frame, and lean on properties the browser can move cheaply, or it will stutter and undermine the very sense of polish it was meant to create.

The name comes from the Greek parallaxis, meaning alteration or change. Parallax is a real optical phenomenon: when you move, nearby objects appear to shift position faster than distant ones, which is why roadside trees rush past a car window while faraway mountains barely move. Astronomers have long used parallax to measure distance, and animators exploited the same effect for decades, sliding layered artwork at different speeds to fake depth in hand-drawn scenes. Web designers borrowed both the name and the trick, applying it to scrolling pages.

For a business, parallax scrolling matters mainly as a storytelling and engagement device. Used well, it can make a landing page or product story feel crafted and memorable, rewarding the act of scrolling and encouraging visitors to keep going, which increases time on page and the chance they reach a call to action. It signals design investment, which can reinforce a premium brand impression. On a campaign page or a portfolio, a well-executed parallax sequence can turn a flat list of information into an experience that holds attention.

The most common mistake is using parallax for its own sake, where the effect distracts from the message, slows the page, or makes content harder to read as things drift underneath the text. Performance is the frequent casualty, particularly on mobile devices and lower-powered hardware, where poorly built parallax causes visible stutter and drains battery. Accessibility is another concern, because significant background motion can disorient users who are sensitive to movement, so the effect should respect a reduced-motion preference and never hide essential content behind an animation. It can also harm usability if it interferes with expected scrolling or breaks on small screens. Parallax scrolling is one expression of the broader field of motion design, it frequently coexists with a sticky header that stays fixed while layers move, and its value ultimately depends on whether it serves the overall user experience rather than fighting it.

Why it matters

Used well, parallax adds memorable polish that helps a brand stand out. Used poorly, it hurts performance and accessibility, so it is a deliberate design choice.