| <!DOCTYPE HTML> |
| <meta charset="utf-8"> |
| <title>CSS Test (Transforms): Flattening at the leafward edges of a preserve-3d scene</title> |
| <link rel="author" title="L. David Baron" href="https://dbaron.org/"> |
| <link rel="author" title="Google" href="http://www.google.com/"> |
| |
| <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> |