Advanced HTML & CSS
Q92 / 100

What does the "isolation: isolate" CSS property do, and when is it useful?

Correct! Well done.

Incorrect.

The correct answer is B) It creates a new stacking context without requiring other properties like position or z-index, useful for ensuring blend modes (mix-blend-mode) or z-index layering apply only within a subtree without affecting the rest of the page

B

Correct Answer

It creates a new stacking context without requiring other properties like position or z-index, useful for ensuring blend modes (mix-blend-mode) or z-index layering apply only within a subtree without affecting the rest of the page

Explanation

isolation: isolate establishes a stacking context purely for isolation purposes (e.g. to contain mix-blend-mode effects to a subtree) without the side effects of other stacking-context-triggering properties like forcing positioning.

Progress
92/100