Isolation - CSS Property
Summary of characteristics of the isolation property
auto | isolateautoNot animable: the isolation property cannot be animated.Single: single value (no order).Syntax diagram of isolation.
isolation property.The links in the diagram provide more details about the values.
Download the diagram in SVG.
Description of the isolation property.
Determines if an element's content interacts with its parent in terms of colors, or not.
In other words, isolation can create a layer of isolation between the element and its parent.
isolation is useful when blend modes have been set by the mix-blend-mode property.


mix-blend-mode:normalThe property
isolation has no visible effect.
mix-blend-mode:darkenon the image.

mix-blend-mode:darkenon the image.
isolation:isolate on the child element.Values for isolation.
- isolation: auto;
The browser decides if it's necessary to create an isolation level or not. Usually, no isolation level is created.
The background colors of these two elements blend together.isolation:auto; - isolation: isolate;
A layer of isolation is created. This means that
mix-blend-modeno longer works.The background colors of these two elements de not blend together..isolation:isolate; - isolation: initial; (
auto) isolation: inherit; isolation: revert; isolation: revert-layer; isolation: revert-rule; isolation: unset;These values are described in more detail on their respective page:
initial,inherit,revert,revert-layer,revert-rule,unset.
Animation of the isolation property..
It's not possible to animate the isolation property.
Simulator.
Here's how this demonstration for the property isolation is set up: an image (the ball) is inside a transparent div,
which itself is inside another div with a graphic background (the bird texture).
The image is "blended" with the background through its mix-blend-mode property. You can clearly see that the bird pattern interacts with the balloon.
Let's note that the balloon itself is black and white, and it has no transparent parts.
The simulator applies the isolation property to the transparent div.
Notice that this element can isolate the image from the background and thus prevent them from interacting.
Browsers compatibility with isolation.
The property Isolation is properly recognized by current browsers.
The old Internet Explorer browser doesn't support it.
isolation property.isolationproperty
Browsers on computers :
Mobile browsers :
Outdated or marginal browsers :

Internet Explorer

Baidu Browser

UC Browser pour Androïd

Opéra Mobile

QQ Browser

Samsung Internet

Safari

Safari sur IOS

Chrome

Edge

Firefox

Opéra

Chrome pour Androïd

Androïd Brower

Firefox pour Androïd

KaiOS Browser

Opéra mini
Historic of the isolation property.
-
Compositing and Blending Level 1
This module defines how the images of overlapping elements are composed. In this module, you will find:
- composition operators,
- advanced blending modes,
- composition groups,
- properties for isolation.RegardingisolationFirst definition of theisolationproperty.August 16, 2012Working Draft.February 20, 2014Candidate Recommendation.
See also, about blend modes.
Blend modes are described in the Compositing and Blending module. All related properties are in this module:
Properties:

Also check out our tutorial on Blend modes.



