Info
Open the page on your phone

What is z-index? Does every element have one?

The z-index property in CSS controls the vertical stacking order of positioned elements. Positioned elements are those whose position property is set to anything other than static. The z-index value determines which elements are stacked in front of, or behind, one another. Not every element has a z-index unless it's been explicitly positioned.

<code>z-index: 1;</code>