Stacking and z-index

The z-index property orders the stacking of positioned elements: the highest comes in front. It works within a stacking context, created by certain properties such as position with a z-index, or transform. A high z-index does not go past another, lower parent context.

Example

modale { position: fixed; z-index: 100; }

Related concepts

The whole glossary