Web platform features explorer

scroll-target-group

The scroll-target-group CSS property sets the container where anchor links act as scroll markers. Using selectors such as :target-current, you can style elements when a target has scrolled into view. It's an alternative to the ::scroll-marker-group pseudo-element, which generates scroll markers.

Status

Limited availability

MDN documentation

Browser support

  • Chrome 140 Released on 2025-09-02
  • Chrome Android 140 Released on 2025-09-02
  • Edge 140 Released on 2025-09-05
  • Firefox
  • Firefox for Android
  • Safari
  • Safari on iOS

Developer signals

Votes: 1

If you want this feature to be available in all browsers, vote for it by adding a thumbs up reaction (👍) to this GitHub issue, and leave a comment with more information.