summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-masking/clip-path/animations/clip-path-animation-fixed-position-ref.html
blob: 2a21cc445cf35042b949e2a9941b8866e956a698 (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
<!DOCTYPE html>
<style>
  .container {
    position: fixed;
    top: 100px;
    left: 100px;
    width: 100px;
    height: 100px;
    background-color: green;
    clip-path: circle(200% at 35% 35%);
  }

  .big {
    position: absolute;
    top: 100px;
    width: 500px;
    height: 500px;
    background-color: blue;
  }
</style>

<body>
  <div class="container">
    <div class="big"></div>
  </div>
</body>

</html>