Skip to content

Glossary: CSS Layout and Responsive Design

z-index

Controls which overlapping box sits on top; higher numbers are in front. It works only on positioned elements and flex or grid items.

Where the book teaches it

Related terms

Stacking contextPositioned element