summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-masking/mask-image/mask-clip-3-ref.html
blob: 08fdf2e99285972f31df9c8da51857fa4242c7c2 (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
38
39
40
41
<!DOCTYPE HTML>
<html>
  <head>
    <meta charset="utf-8">
    <title>CSS mask-clip reference</title>
    <link rel="author" title="Mozilla" href="https://www.mozilla.org">
    <style type="text/css">
      div {
        position: absolute;
        top: 10px;
        background-color: purple;
      }

      div.border {
        left: 10px;
        margin: 1px 4px;
        width: 60px;
        height: 25px;
      }

      div.border2 {
        left: 110px;
        margin: 1px 4px;
        width: 60px;
        height: 25px;
      }

      div.content {
        left: 210px;
        margin: 15px 13px;
        width: 40px;
        height: 11px;
      }
    </style>
  </head>
  <body>
    <div class="color border"></div>
    <div class="color border2"></div>
    <div class="color content"></div>
  </body>
</html>