Example

A simple isolation property example:

Laboratory

description & Usage

We use the isolation property to create a stacked content by an element.

Informations

# Description
Default Value auto
Inherited no
Animatable no
Version CSS3
JavaScript syntax object.style.isolation="isolate"

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
isolation

Syntax

Values

Values Description
auto Default.
isolate A new stack field is created.
initial Adds this value to its default property.
inherit It inherits this value from its parent tag.