A CSS property, which refers to the stack order of an element on a website. A greater z-index means that the element in question will appear in front of another element with a lower z-index. This creates a simple system of prioritization. It is important to remember that the z-index will only work with positioned elements.
The z-index is a number that can be either positive or negative. It would be used like this: