Interviewer And Interviewee Guide

Website Developer Interview Question:

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

Submitted by: Muhammad
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;
}
Submitted by: Muhammad

Read Online Website Developer Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.