css.properties

scroll-snap-type

The scroll-snap-type property specifies the type of scroll snapping.

Formal Syntax

none | [ x | y | block | inline | both ] [ mandatory | proximity ]?

See specification

JavaScript Access

// Access via element.style
element.style.scrollSnapType = 'none';

Browser Support

standard | MDN ยท Spec

FeatureChromeFirefoxSafariEdge
scroll-snap-type69991179
block69681179
both69681179
inline69681179
none69391179
x69681179
y69681179

Related Properties