1.

What is the use of z-index in CSS?

Answer»

It specifies the STACK order of an element. An element with GREATER stack order is always in front of an element with a lower stack order. z-index only works on positioned elements like position:ABSOLUTE, position:relative, or position:FIXED.



Discussion

No Comment Found