tor-browser

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

clip-path-shape-004.html (760B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4  <title>CSS Masking: Test clip-path property and shape function with nonzero fill</title>
      5  <link rel="help" href="https://drafts.csswg.org/css-shapes-2/#funcdef-shape">
      6  <link rel="match" href="reference/clip-path-shape-004-ref.html">
      7  <meta name="assert" content="The clip-path property takes the basic shape
      8 'shape()' for clipping. Test arcs.">
      9 </head>
     10 <style>
     11  #rect {
     12    width: 100px;
     13    height: 100px;
     14    background-color: green;
     15    clip-path: shape(nonzero from 20px 20px,
     16                     arc to 80px 20px of 25px 12px cw,
     17                     arc by -40px 50px of 33px cw large rotate 120deg,
     18                     arc to 20% 20% of 20px 25px ccw);
     19  }
     20 </style>
     21 <body>
     22  <div id="rect"></div>
     23 </body>
     24 </html>