Motion Library ‹ Free tools

All / Parallax

Image window parallax

Images sit inside a fixed frame and slide slowly within it as the frame scrolls past, like looking through a window.

CSSJavaScriptIntermediate
Live demo Open full screen

Good for

Editorial photo sections, article headers and portfolio cards.

Watch out for

Make the image taller than the frame so there is room to move. Measure from the frame (the parent), never the moving image, to avoid feedback.

Accessibility

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