Horizontal scroll section

Also called horizontal scrolling section or sideways scroll

A pinned section where scrolling down moves a row of cards sideways, turning vertical scrolling into horizontal movement.

What is Horizontal scroll section?

In a horizontal scroll section, the page pins a wide row of content and slides it left as the reader scrolls down. A timeline, a set of case studies, or a product lineup moves past as if the page turned a corner, then normal vertical scrolling resumes at the end.

It is built like scroll pinning: a tall wrapper, a sticky child one screen tall, and a row inside it that moves with translateX from 0 to minus its overflow width as scroll progress goes from 0 to 1. Make the wrapper roughly as tall as the row is wide so the movement keeps a natural scrolling speed.

Readers can’t tell that more content waits off to the side, so let the next card peek in and show a progress indicator. Keyboard and screen reader users still need to reach every card in order, and on phones a swipeable row with scroll-snap is often the simpler choice.

Often confused with

Carousel
A carousel moves sideways when you swipe or press its arrows. A horizontal scroll section moves sideways as you scroll down the page.
All terms

Scroll pinning

A scroll effect that holds a section in place while its content animates through several states, then releases it to scroll away.

Carousel

A row of slides shown one at a time and moved with arrows, dots, swipes, or a timer, to fit several images or cards in one spot.

Scroll snap

A CSS feature that makes a scroll container settle on set points, so carousels and full-screen sections come to rest neatly on an item.

Marquee

A strip of logos or text that scrolls sideways in an endless loop, often used for "trusted by" rows and announcements.