Source code
Revision control
Copy as Markdown
Other Tools
<head>
<title>css3-background: number of background layers determined by background-image</title>
<meta name="flags" content="" />
<style type="text/css"><![CDATA[
div {
position: relative; height: 100px; width: 100px;
}
]]></style>
</head>
<body>
<div>
<img style="position: absolute; left: 10px; top: 10px" src="yellow-32x32.png" />
</div>
<div>
<img style="position: absolute; left: 15px; top: 15px" src="fuchsia-32x32.png" />
<img style="position: absolute; left: 20px; top: 20px" src="blue-32x32.png" />
<img style="position: absolute; left: 0px; top: 0px" src="aqua-32x32.png" />
<img style="position: absolute; left: 5px; top: 5px" src="yellow-32x32.png" />
</div>
<div>
<img style="position: absolute; left: 20px; top: 20px" src="blue-32x32.png" />
<img style="position: absolute; left: 5px; top: 5px" src="aqua-32x32.png" />
<img style="position: absolute; left: 10px; top: 10px" src="yellow-32x32.png" />
</div>
</body>
</html>