CSS · Properties — CSS Overflow

scroll-target-group

The CSS scroll-target-group property. Initial value: none. Not inherited.

Syntax
scroll-target-group: none | auto

Example

Try it

Notes

Media: visual. Applies to: allElements. Computed value: asSpecified.

More in this group

line-clamp max-lines overflow-block overflow-clip-margin overflow-inline overflow-x overflow-y scroll-axis-lock

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.

Open the course