Motion Library ‹ Free tools

All / Parallax

Pure CSS 3D parallax

Real depth with no JavaScript: a scroll container with perspective, and layers pushed back with translateZ then scaled up to look normal.

CSSAdvanced
Live demo Open full screen

Good for

Hero scenes and illustrated sections where you want true depth maths handled by the browser.

Watch out for

The scale to cancel the shrink is 1 + (distance / perspective). Test in Safari, which treats perspective on scroll containers slightly differently. Layers must overflow their group a little to avoid gaps.

Accessibility

Wrap motion in @media (prefers-reduced-motion: reduce) and switch it off or shorten it for people who ask for less movement.