Sticky Heading
Section one
Section two
Section three
.scroller { height: 300px; overflow-y: scroll; scroll-snap-type: y mandatory; scroll-padding: 40px; } .scroller section { scroll-snap-align: start; }
Sticky Heading
Section one
Section two
Section three