blob: 3f63c03319bb433c95127b4e25e2004841cb3b02 [file] [log] [blame]
<html>
<head>
<style>
div { width:100px; height:100px }
.green { background-color: green }
.red { background-color: red }
</style>
</head>
<body>
You should see a green square below.
<div class="red" style="position:relative; z-index:0">
<div class="red" style="position:absolute; z-index:auto">
<div class="red" style="position:absolute; z-index:inherit">
<div class="green" style="position:absolute; z-index:1000">
</div>
</div>
</div>
<div class="red" style="position:absolute; z-index:100">
</div>
</div>
</body>
</html>