summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/individual-transform/stacking-context-ref.html
blob: 0b8c52303d6f6cac87986f3d8d08d6258e8fe514 (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
<!DOCTYPE html>
<html>
  <head>
    <title>
      Reference: Individual transform properties' animations create stacking context in delay phase
    </title>
    <style>
      #back {
        height: 100px;
        width: 100px;
        position: fixed;
        background: green;
        margin-top: 50px;
      }
      #test {
        width: 100px;
        height: 100px;
        background: blue;
        will-change: transform;
      }
    </style>
  </head>
  <body>
    <div id="back"></div>
    <div id="test"></div>
  </body>
</html>