Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<head>
<title>css3-background: stacking order of layers</title>
<link rel="author" title="L. David Baron" href="https://dbaron.org/" />
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
<meta name="flags" content="" />
<style type="text/css"><![CDATA[
div#test {
position: relative; height: 100px; width: 100px;
}
]]></style>
</head>
<body>
<div id="test">
<img src="aqua-32x32.png" style="position: absolute; left: 20px; top: 20px" />
<img src="fuchsia-32x32.png" style="position: absolute; left: 10px; top: 10px" />
<img src="yellow-32x32.png" style="position: absolute; left: 15px; top: 15px" />
<img src="blue-32x32.png" style="position: absolute; left: 5px; top: 5px" />
</div>
</body>
</html>