summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/reference/css-transform-3d-transform-style-ref.html
blob: a47b14756de575bf0db34fb3fdafccb605e5f84c (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
35
36
37
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>CSS Transforms Test: rotateY with transform-style on nested elements</title>
    <link rel="author" title="Intel" href="http://www.intel.com">
    <style>
      div {
        position: absolute;
      }
      div.container {
        height: 100px;
        top: 60px;
        width: 400px;
      }
      div.blue {
        background-color: blue;
        height: 100px;
        left: 200px;
        width: 100px;
      }
      div.green {
        background-color: green;
        height: 100px;
        left: 100px;
        width: 100px;
      }
    </style>
  </head>
  <body>
    <p>Test passes if there is a <b>green</b> square and a <b>blue</b> square, and no any <b>red</b>.</p>
    <div class="container">
      <div class="blue"></div>
      <div class="green"></div>
    </div>
  </body>
</html>