- A concept to limit styles to a certain element and its descendants, rather than having them affect an entire document. Native support is provided through the CSS
@scope at-rule. Previously, the scoped attribute for style elements was proposed but never standardized. Frameworks like Vue.js support the concept through their own scoped attribute implementation.
- Related terms: Custom data attribute · CSS Module · CSS-in-JS · Shadow DOM
- Previous term: Scope creep
- Next term: Score
- Random term: Google Lighthouse (webglossary.info/random 🎲)