tor-browser

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

mask-clipPath-opacity-01e.xhtml (619B)


      1 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
      2 <head>
      3 <style>
      4  div {
      5    width: 100px;
      6    height: 100px;
      7    clip-path: url(#c1);
      8    mask:url(#m1);
      9    background-color: blue;
     10    opacity: 0.5;
     11  }
     12 </style>
     13 </head>
     14 <body>
     15  <div/>
     16  <svg:svg height="0">
     17    <svg:mask id="m1" style="mask-type:alpha">
     18      <svg:rect x="0" y="0" width="100" height="100" style="stroke:none; fill: #ffffff"/>
     19    </svg:mask>
     20    <svg:clipPath id="c1">
     21      <svg:rect x="0" y="0" width="50" height="100"/>
     22    </svg:clipPath>
     23  </svg:svg>
     24 </body>
     25 </html>