tor-browser

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

offset-path-ray-014.html (713B)


      1 <!doctype html>
      2 <meta charset="utf-8">
      3 <title>CSS Motion Path test: ray() path with default position</title>
      4 <link rel="author" title="Daniil Sakhapov" href="sakhapov@google.com">
      5 <link rel="match" href="offset-path-ray-014-ref.html">
      6 <link rel="help" href="https://drafts.fxtf.org/motion/#ray-function">
      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    top: 100px;
     20    left: 100px;
     21    offset-path: ray(0deg closest-side);
     22    offset-distance: 100%;
     23    offset-position: normal;
     24    width: 100px;
     25    height: 100px;
     26  }
     27 </style>
     28 
     29 <div id="outer">
     30  <div id="box"></div>
     31 </div>