scroll-snap-stop
Determines whether a scroll container is allowed to 'skip' snap points when the user is scrolling quickly. Setting it to 'always' forces the scroll to stop at every single item.
It is documented as part of the CSS Scroll Snap specification.
Syntax
/* Usage Example */
.carousel-item {
/* Forces the user to stop at this item even if they flick the scrollbar quickly */
scroll-snap-stop: always;
}
/* Syntax */
scroll-snap-stop: normal;
scroll-snap-stop: always;
/* Global values */
scroll-snap-stop: inherit;
scroll-snap-stop: initial;
scroll-snap-stop: revert;
scroll-snap-stop: revert-layer;
scroll-snap-stop: unset;
scroll-snap-stop Browser support
Widely available
Since
2020 95% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2020.
75+
103+
15+
79+