what is z index css
CSS Z-Index. z-index is a css property that allows to position an object/element in front/behind of other elements. the z-index element has to be in absolute position in order to work properly. An element with greater value number/order is always positioned above the element with a lower value number/order. See the z-index values and the demo below: