<!DOCTYPE html>
<html>
<head>
<title>CSS z-index property</title>
</head>
<body>
<div style="background-color:orange;
width:130px;
height:150px;
top:15px;
left:100px;
position:relative;
z-index:1;">
</div>
<div style="background-color:#FF3333;
width:130px;
height:150px;
position:relative;
top:-30px;
left:45px;
z-index:2;">
</div>
<div style="background-color:#CCFF66;
width:230px;
height:70px;
position:relative;
top:-270px;
left:145px;
z-index:3;">
</div>
</body>
</html>