CSS Property:
z-index:
auto
1
2
3
4
initial
Result:
myBox
z-index 0
z-index 1
z-index 2
z-index 3
CSS Code:
div#myBox { position:absolute; background-color:red; z-index:
auto;
}
Click the property values above to see the result
W3Schools.com
- Play it