Web features explorer

Style containment

Newly available since 2022-07-26
Tags: css Groups: CSS > Containment

The contain: style CSS declaration permits the browser to avoid slower layout calculations by preventing modification to counter (counter-increment and counter-set) and quotation styles (content property quote values) beyond the element's descendants.

Learning resources on MDN

Browser support