Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE HTML>
<meta charset="utf-8">
<title>CSS Test (Transforms): Flattening at the leafward edges of a preserve-3d scene</title>
<style>
body {
margin: 0;
}
div {
position: absolute;
height: 100px;
width: 100px;
top: 0;
left: 0;
}
.flattener {
background: fuchsia;
}
.sibling {
background: blue;
top: 50px;
left: 25px;
}
.child {
background: silver;
left: 50px;
}
</style>
<div class="sibling"></div>
<div class="flattener"></div>
<div class="child"></div>