Scoped Styles: the @scope rule
Allows CSS rules to be scoped to part of the document, with upper and lower limits described by selectors.
CSS Containment
The CSS `contain` property lets developers limit the scope of the browser's styles, layout and paint work for faster and more efficient rendering.
Scoped attribute
Deprecated method of allowing scoped CSS styles using a "scoped" attribute. Now [removed from the specification](https://github.com/whatwg/html/issues/552) and replaced by the [@scope CSS rule](/css-cascade-scope).
cssscoperule api
cssscoperule api: end
cssscoperule api: start
css at-rule: `@scope`
css property: anchor-scope
css property: anchor-scope: all
css property: anchor-scope: none
css property: timeline-scope
css property: timeline-scope: all
css property: timeline-scope: none
css selector: nesting selector (`&`): `&` treated as `:where(:scope)` in `@scope` blocks
css selector: `:scope`
css selector: `:scope`: support in dom api such as in `queryselector()` and `queryselectorall()`
17 results found.