48 CZ-PRG (GMT+1)
US-NYC (GMT-5)
Blazor Web App (Server rendered)

WEB DESIGN TRENDS / 06 OF 20

Horizontal Scrolling

A sideways timeline or gallery can reveal a sequence of related items without squeezing them into narrow columns. Scroll snapping gives each panel a natural stopping point.

Use horizontal scrolling for timelines, product galleries, or short curated collections. Keep a visible cue that more content continues off-screen. Bootstrap 5.3

DESCRIPTION & USE

How the trend works

A sideways timeline or gallery can reveal a sequence of related items without squeezing them into narrow columns. Scroll snapping gives each panel a natural stopping point.

Where to use it

Use horizontal scrolling for timelines, product galleries, or short curated collections. Keep a visible cue that more content continues off-screen.

What Bootstrap 5.3 can do

Bootstrap's overflow and flex utilities create the basic track and spacing. CSS scroll-snap and a sensible panel width add the interaction.

Useful classes .overflow-auto, .d-flex, .flex-nowrap, .gap-*, .p-*, .btn, .visually-hidden

FROM THE ATTACHED HTML

The original example

SCROLL-LINKED TIMELINE

A timeline you scroll sideways

2021

Flexbox everywhere

One-dimensional layout becomes a default.

2022

Grid goes mainstream

Two-dimensional design becomes practical.

2023

Container queries

Components respond to their parent.

2024

View transitions

Native motion links interface states.

2025

Scroll-driven motion

Timelines respond to scrolling.

2026

Adaptive UI

Expressive, responsive, and accessible.

A PRACTICAL EXTENSION

One more way to use it

Added example
Give the next panel a peek.

A partial card at the edge signals that the track continues; keyboard users can focus the track and scroll it horizontally.

An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.