scroll-target-group
Limited availability72% of usersExperimental
A 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.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyComingNot in Firefox or Safari yet, so not every major browser supports it.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
none- Inherited
- No
- Applies to
- all elements
- Animation type
- discrete
Quick example
.group-container {
/* Automatically group targets inside this container */
scroll-target-group: auto;
}Values
noneautoscroll-target-group browser support
BaselineLimited availabilityThis feature is not Baseline because it does not work in some of the most widely-used browsers.Not ready for production without a fallback.
Usage72%of people can use this28% use a browser without it.
Browsers
140+
140+Mobile
140+Android