blob: 8ea8258a0ca79886e38f977245a5a74a6b545a0f [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style type="text/css" media="screen">
.box {
height: 100px;
width: 100px;
background-color: blue;
}
.container {
position: absolute;
margin: 10px;
left: 0;
top: 0;
z-index: -1;
background-color: red;
}
.compositing {
-webkit-transform: translateZ(0);
}
.foreground {
background-color: green;
}
</style>
</head>
<body>
<div class="container box">
<div class="compositing">
<div class="foreground box"></div>
</div>
</div>
</body>
</html>