blob: df9df240741a0c5083e0f4f0a14322677d2539a0 [file] [log] [blame]
<!DOCTYPE html>
<style>
.negative {
z-index: -1;
}
.abs {
position: absolute;
}
.green {
width: 100px;
height: 100px;
background-color: green;
}
.red {
width: 100px;
height: 100px;
background-color: red;
will-change: transform;
}
</style>
<body>
<div class="negative abs">
<div class="red"></div>
</div>
<div class="negative abs green"></div>
</body>