What is the purpose of z-index in CSS positioning? code example
Example: css z index
img {
position: absolute;
/*position: relative;
//position: fixed;*/
left: 0px;
top: 0px;
z-index: -1;
}
The z-index property specifies the stack order of an element.