Problem Statement
A new stacking context is created when an element has:
Explanation
A new stacking context forms when an element is positioned (other than static) and has a z-index. It isolates child z-index layers from the outer context.
Code Solution
SolutionRead Only
.container { position: relative; z-index: 10; }Practice Sets
This question appears in the following practice sets:
