summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/preserve3d-and-flattening-002-ref.html
blob: 5a2b59cb9054c464adf0ff7d444bd72dd0e69fa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!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>