Scroll Snap Type
Apply to the scrolling container
- creates a scroll-snapping context
-
required axis: [
x
|y
|block
|inline
|both
] -
optional strictness:
[
*proximity
|mandatory
] -
Use on
html
for viewport scrolling