This property sets the stack order of an element on a web page. An element with greater stack order is always in front of another element with lower stack order. Example – Think of pieces of paper on a desk where the paper on the top has the highest number zIndex and the paper on the very bottom has the lowest.

Leave a Reply

Your email address will not be published. Required fields are marked *