Defines the order of the elements on the z-axis. It only works on positioned elements (anything apart from static).
The order is defined by the order in the HTML code:
The z-index value is relative to the other ones. The target element is move in front of its siblings.
You can use negative values. The target element is move in behind its siblings.
Share this CSS property
Share on Twitter
Share on Facebook