Lesson 33 of 50
cssCSS Scroll‑Snap
6 mins
Course progress66%
What you'll learn
Keep this idea in mind as you work through the lesson.
Lesson 33 of 50
css6 mins
Keep this idea in mind as you work through the lesson.
Scroll‑snap creates carousel‑like scroll experiences without JavaScript.
.scroller { overflow-x:auto; scroll-snap-type:x mandatory; }
.item { scroll-snap-align:start; }