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 votes

Do you need this feature?
Let us know by leaving a 👍 reaction on the feedback issue. Don't forget to also leave a comment explaining your specific use case.