CSS · Properties — CSS Scroll Snap
scroll-margin-inline-start
The CSS scroll-margin-inline-start property. Initial value: 0. Not inherited.
Syntax
scroll-margin-inline-start: <length>Example
Try it
Notes
Media: visual. Applies to: allElements. Computed value: asSpecified.
More in this group
Learn this in the course
Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.