summaryrefslogtreecommitdiffstats
path: root/layout/reftests/transform-3d/rotatex-perspective-3-ref.html
blob: 028193ce1c2fc7a9b39000c49fd83318ccf34009 (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
<html>
<head>
  <style type="text/css">
    #container {
      position: relative;
      height: 300px;
      width: 300px;
      margin: 50px 100px;
      border: 2px solid blue;
      
      perspective: 500px;
  }

  #parent {
      margin: 10px;
      width: 280px;
      height: 280px;
      background-color: #844BCA;
      
      transform: rotateY(40deg);
  }
    
  </style>
</head>
<body>

  <div id="container">
    <div id="parent">
    </div>
  </div>

</body>
</html>