CSS Property:

z-index

Demonstration of CSS z-index property

Result:

z-index
z-index 0
z-index 1
z-index 2
z-index 3

CSS Code:

#myDiv {
                
width:130px;
height:130px;
position:absolute;
left:0;
top:0;
background-color:#86C2DE;
}
Click the property values above to see the result
W3Docs.com-Play it
¿Te resulta útil?