Check out scroll snapping… (no JS required):
Preview:
Specs:
Support:
Also pretty nicely supported at this point:
https://caniuse.com/#feat=mdn-css_properties_scroll-snap-type
Tutorial:
Check out scroll snapping… (no JS required):
Preview:
Specs:
Support:
Also pretty nicely supported at this point:
https://caniuse.com/#feat=mdn-css_properties_scroll-snap-type
Tutorial:
WOW!!! best work without js.