Skip to main content

Isolation

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

CSS Property:isolation
Classes:2

Isolation Classes

ClassCSS
isolateisolation: isolate;
isolation-autoisolation: auto;

Arbitrary Values

You can use arbitrary values with square bracket notation when you need a specific value not included in the default scale.

[isolation:value]

Responsive Variants

Apply isolation utilities at specific breakpoints using responsive prefixes.

BreakpointPrefixExample
640px+sm:sm:isolate
768px+md:md:isolate
1024px+lg:lg:isolate
1280px+xl:xl:isolate
1536px+2xl:2xl:isolate