tor-browser

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

offset-path-shape-polygon-001.html (736B)


      1 <!doctype html>
      2 <meta charset="utf-8">
      3 <title>CSS Motion Path test: &lt;basic-shape&gt; polygon() path</title>
      4 <link rel="author" title="Daniil Sakhapov" href="sakhapov@google.com">
      5 <link rel="match" href="offset-path-shape-polygon-001-ref.html">
      6 <link rel="help" href="https://drafts.fxtf.org/motion/#valdef-offset-path-basic-shape">
      7 <meta name="fuzzy" content="maxDifference=0-20; totalPixels=0-100">
      8 
      9 <style>
     10 #outer {
     11  top: 100px;
     12  left: 100px;
     13  position: relative;
     14  width: 600px;
     15  height: 400px;
     16 }
     17 #box {
     18  background-color: green;
     19  position: relative;
     20  offset-path: polygon(0px 0px, 600px 0px, 300px 400px);
     21  offset-distance: 90%;
     22  width: 100px;
     23  height: 100px;
     24 }
     25 </style>
     26 
     27 <div id="outer">
     28  <div id="box"></div>
     29 </div>