If you are new in CSS then you may find difficulty to understand about z-index property. In simple words z-index sets the stack order of specific elements. An element with greater stack order is always in front of another element with lower stack order.