Style isolation Property
Style isolation Property
The isolation property is used to specify whether or not an element creates a new stacking content.
Syntax:-
Its syntax is:- object.style.isolation OR object.style.isolation = auto | isolate | initial | inherit
Further Explanation:-
Value | Description |
---|---|
auto | A new stacking context is created if one of properties applied to element needs it. |
isolate | A new stacking context must be created. |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |