Problem Statement
Which property controls the stack order of positioned elements?
Explanation
`z-index` determines the stack order of positioned elements. Higher z-index values appear in front of lower ones, within the same stacking context.
Code Solution
SolutionRead Only
.box1 { z-index: 2; } .box2 { z-index: 5; }Practice Sets
This question appears in the following practice sets:
