tor-browser

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

mask-repeat-2.html (1245B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <meta charset="utf-8">
      5    <title>CSS Masking: mask-repeat: repeated mask layer image</title>
      6    <link rel="author" title="Astley Chen" href="mailto:aschen@mozilla.com">
      7    <link rel="author" title="Mozilla" href="https://www.mozilla.org">
      8    <link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-mask-repeat">
      9    <link rel="match" href="mask-repeat-2-ref.html">
     10    <meta name="assert" content="Test checks whether repeated mask layer works correctly or not.">
     11    <style type="text/css">
     12      div {
     13        width: 128px;
     14        height: 128px;
     15      }
     16 
     17      div.outer {
     18        border: 1px solid black;
     19      }
     20 
     21      div.inner {
     22        background-color: purple;
     23        mask-image: url(support/50x50-opaque-blue.svg);
     24        mask-position: left top;
     25      }
     26 
     27      #space {
     28        mask-repeat: space;
     29      }
     30      #space-x {
     31        mask-repeat: space no-repeat;
     32      }
     33      #space-y {
     34        mask-repeat: no-repeat space;
     35      }
     36    </style>
     37  </head>
     38  <body>
     39    <div class="outer"><div class="inner" id="space"></div></div>
     40    <div class="outer"><div class="inner" id="space-x"></div></div>
     41    <div class="outer"><div class="inner" id="space-y"></div></div>
     42  </body>
     43 </html>