TAG ยท scroll
Scrolling in CSS
Scroll snap, carousel dots, scroll shadows, sticky state and scroll chaining, with what each one costs. 10 elements, each rendered live with its source and the one thing that breaks it.
- Content above that stops pushing you down overflow-anchor
- Cards that stack as you scroll timeline-scope
- The jump when a scrollbar arrives scrollbar-gutter: stable
- A sticky header that knows it is stuck scroll-state(stuck)
- An edge that fades instead of cutting mask-composite: intersect
- Carousel dots the browser draws itself ::scroll-marker
- Shadows that show there is more to scroll background-attachment: local
- A carousel the browser drives scroll-snap-type
- Scrolling that stops at the edge overscroll-behavior
- Anchor links that clear a sticky header scroll-padding-top