The isolation property in CSS is used to define whether an element must create a new stacking content. It prevents an element from acquiring mix-blend-mode from elements in the backdrop by creating a different stack element.
- Isolate property is applied to the elements parent.
- Not supported by Internet Explorer.
- auto: It is used the default. It creates a new stack element when required. It resets the isolate and allow blending.
- isolate: It prevents the element from blending. A new stacking element is created.
- initial: It sets the isolation property to its default value.
- inherit: This property is inherited from its parent.
Supported Browsers: The browser supported by isolation property are listed below:
- Google Chrome 41.0
- Firefox 36.0
- Opera 30.0
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.