scroll-target-group
ExperimentalA new property that allows you to group multiple targets in a scroll container together. This helps the browser decide which element should be 'snapped' to when there are multiple potential choices.
Usage example
.group-container {
/* Automatically group targets inside this container */
scroll-target-group: auto;
} Initial value
none
Inherited
No
Applies to
allElements
Animation type
discrete
Values
noneauto scroll-target-group Browser Support
Limited availability 63% global usage
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Not ready for production without a fallback.
140+
140+