Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Aviance School is one of the largest web solutions platform in India for developers to learn and share their programming knowledge and build their careers.
The z-index CSS property specifies the z-order of a positioned element and its descendants.z-index only works on positioned elements (position:absolute, position:relative, or position:fixed).
Example:
Set the z-index for an image:
img {
position: absolute;
left: 10px;
top: 10px;
z-index: -1;
}