Motion Library ‹ Free tools

All / Scroll

Pinned horizontal scroll

A section pins to the screen while vertical scrolling slides a row of panels sideways.

CSSJavaScriptAdvanced
Live demo Open full screen

Good for

Product tours, timelines and image galleries inside a long page.

Watch out for

Make the tall wrapper exactly as tall as the distance to travel plus one screen. Provide a normal vertical layout on small screens if the content is dense.

Accessibility

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