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.
Quick example
.group-container {
/* Automatically group targets inside this container */
scroll-target-group: auto;
}Quick facts
Initial value
noneInherited
No
Applies to
all elements
Animation type
discrete
Values
noneautoscroll-target-group Browser Support
Limited availability63% 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+