The z-index property specifies the stack order of an element. An element with greater stack order is always in front (on top) of an element with a lower stack order.

Note: z-index only works on positioned elements (position: absolute, position: relative, position: fixed, or position: sticky

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request