:target-within
The :target-within CSS pseudo-class matches the element with an ID matching the URL fragment and its ancestors.
Browser support
- Chrome Not supported
- Chrome Android Not supported
- Edge Not supported
- Firefox Not supported
- Firefox for Android Not supported
- Safari Not supported
- Safari on iOS Not supported
MDN documentation
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist