← Back to release summary

@scope

Category
CSS
Type
New or changed feature
Status
Enabled by default (Chrome 118)
Intent stage
Start prototyping

Summary

Allows authors to scope style rules to a given scoping root, and style elements according to the proximity of that scoping root.

Motivation

https://css.oddbird.net/scope/explainer/#goals

Standards & signals

Explainers: https://css.oddbird.net/scope/explainer

View on chromestatus.com