Layout

Isolation

Style syntax for controlling whether an element should create a new stacking context.

🚧This page is still under construction and some content may not be complete.

Overview [sr-only]

ClassDeclarations
isolation:valueisolation: value
isolation:autoisolation: auto
isolateisolation: isolate

Conditionally apply

Apply styles in different states using selectors, media queries, etc.

<div class="isolation:auto:hover isolation:auto@sm isolation:auto@dark isolation:auto@print">…</div>
PREVIOUS
Inset

Style syntax for setting distance between an element and the parent element.

NEXT
Overflow

Style syntax for controlling the desired behavior for an element's overflow.

MIT License Ā© Aoyue Design LLC.