Scroll

Scroll Snap Stop

Style syntax for setting whether scroll container is pass over snap positions.

🚧This page is still under construction and some content may not be complete.

Overview [sr-only]

ClassDeclarations
scroll-snap-stop:valuescroll-snap-stop: value
scroll-snap-stop:alwaysscroll-snap-stop: always
scroll-snap-stop:normalscroll-snap-stop: normal

Conditionally apply

Apply styles in different states using selectors, media queries, etc.

<div class="scroll-snap-stop:always:hover scroll-snap-stop:always@sm scroll-snap-stop:always@dark scroll-snap-stop:always@print">…</div>
PREVIOUS
Scroll Snap Align

Style syntax for setting the scroll snap position.

NEXT
Scroll Snap Type

Style syntax for setting how strictly snap points are enforced on the scroll container.

MIT License Ā© Aoyue Design LLC.