Scroll snap
A CSS feature that makes a scroll container settle on set points, so carousels and full-screen sections come to rest neatly on an item.
A CSS feature that makes a scroll container settle on set points, so carousels and full-screen sections come to rest neatly on an item.
scroll-snap-type: x mandatory
Mountains
Coast
Desert
Forest
City
LakesNo snap
Mountains
Coast
Desert
Forest
City
Lakes