scroll-snap-type
Specifies whether a scroll container is a scroll snap container, how strictly it snaps, and which axes are considered. 4.1. Scroll Snapping Rules: the scroll-snap-type property
Links about scroll-snap-type
CSS Scroll Snap - Ahmad Shadeed
An in-depth article on CSS scroll snap, why to use, how it works, and lots of examples.
Code sample
html {
scroll-snap-type: block; /* applied to main document scroller */
}
Explore other pages
- svg
SVG is a language for describing two-dimensional graphics.
- clip-path
Specifies a basic shape or references a clipPath element to create a clipping path.
- clamp()
Takes three calculations—a minimum value, a central value, and a maximum value
- figure
Represents content, optionally with a caption, that is self-contained.