CSS @scope
Using the @scope at-rule to limit where selectors match, with scoping roots, donut-scope limits and scope proximity in the cascade.
Content tagged css-scope
Tutorial:CSS
@scope: Component-Level Style IsolationLimit where selectors match, with donut scopes and proximity.Use CSS @scope to keep component styles inside a root, stop them at a donut-scope limit, and let scope proximity fix nested themes.