CSS Scroll Snap

CSS Scroll Snap is a module of CSS that introduces scroll snap positions, which enforce the scroll positions that a scroll container’s scrollport (en-US) may end at after a scrolling operation has completed.

Примечание: The previous version of this module was called Scroll Snap Points and has been deprecated. CSS Scroll Snap is the current implementation.


CSS Properties on Containers

CSS Properties on Children



Specification Status Comment
CSS Scroll Snap Module Level 1 Кандидат в рекомендации Initial definition

Browser compatibility

The individual property pages detail the browser compatibility situation for Scroll Snap. Note that at the present time Firefox still implements an old version of the specification. Read the guide to browser compatibility (en-US) for an overview of how to support both the old and new specification.