tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

mask-composite-2-ref.html (856B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <meta charset="utf-8">
      5    <title>CSS mask-composite reference</title>
      6    <link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com">
      7    <link rel="author" title="Mozilla" href="https://www.mozilla.org">
      8    <style type="text/css">
      9      div {
     10        position: absolute;
     11        margin: 0px;
     12        padding: 0px;
     13        width: 100px;
     14        height: 100px;
     15        top: 10px;
     16      }
     17 
     18      div.add {
     19        left: 10px;
     20        background-color: blue;
     21      }
     22 
     23      div.subtract {
     24        left: 120px;
     25        background-image: url(support/blue-100x50-transparent-100x50.svg);
     26      }
     27 
     28      div.exclude {
     29        left: 340px;
     30        background-color: blue;
     31      }
     32    </style>
     33  </head>
     34  <body>
     35    <div class="add"></div>
     36    <div class="subtract"></div>
     37    <div class="exclude"></div>
     38  </body>
     39 </html>