Answers

Question and Answer:

  Home  Website Developer

⟩ Tell me what Is Z-Index And How Does It Work?

The z-index is a CSS property which defines the stack order of web elements. Higher order elements will appear before any lower order element.

Note – The z-index only applies to the positioned elements. For example, position:absolute, position:relative, or position:fixed.

div {

position: absolute;

left: 10px;

top: 10px;

z-index: -1;

}

 140 views

More Questions for you: