CSS Property:
z-index:

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