isolation
En esta página
"Utilities for controlling whether an element should explicitly create a new stacking context.";
| Clase | Propiedades CSS |
|---|---|
isolate |
isolation: isolate; |
isolation-auto |
isolation: auto; |
Examples#
Basic example#
Use the isolate and isolation-auto utilities to control whether an element should explicitly create a new stacking context:
<!-- [!code classes:isolate] -->
<div class="isolate ...">
<!-- ... -->
</div>