Star

z

<div layout="z:2 ...">...</div>

The z-index utility adjusts the stacking order of an element.

This is particularly useful when working with positioned elements.

For example, in this case, removing the z-index utility would result in the violet element overlapping and obscuring the sunset element.