The CSS z-index property controls which positioned element appears in front of another element.
A higher z-index value places an element above an element with a lower z-index value.
In this example:
Therefore, Box 3 appears in front of Box 2 and Box 1.