scroll-target-group
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.
It is documented as part of the CSS Overflow specification. This is an experimental technology. The syntax and behavior are still subject to change.
Syntax
/* Usage Example */
.group-container {
/* Automatically group targets inside this container */
scroll-target-group: auto;
}
/* Syntax */
scroll-target-group: none;
scroll-target-group: auto;
/* Global values */
scroll-target-group: inherit;
scroll-target-group: initial;
scroll-target-group: revert;
scroll-target-group: revert-layer;
scroll-target-group: unset;
scroll-target-group Browser support
This feature is not Baseline because it does not work in some of the most widely-used browsers.