tor-browser

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

offset-path-shape-rect-001.html (723B)


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