Scroll Snap CSS Demo

Scroll me!

scroll-snap-type: {{snapType.a}} {{snapType.a === "none" ? "" : snapType.b}}

scroll-snap-align: {{align}}

scroll-snap-stop: {{stop}}

*Note: this only affects scrolling via touchscreen

scroll-padding & scroll-margin:

scroll-padding scroll-margin
{{d}}

Code: