tor-browser

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

offset-path-ray-018.html (696B)


      1 <!doctype html>
      2 <meta charset="utf-8">
      3 <title>CSS Motion Path test: ray() path with content-box</title>
      4 <link rel="match" href="offset-path-ray-018-ref.html">
      5 <link rel="help" href="https://drafts.fxtf.org/motion/#ray-function">
      6 
      7 <style>
      8  #outer {
      9    top: 100px;
     10    left: 100px;
     11    position: relative;
     12    width: 200px;
     13    height: 200px;
     14    padding: 50px;
     15    border: 50px solid black;
     16  }
     17  #box {
     18    background-color: green;
     19    offset-path: ray(0deg sides at 50% 50%) content-box;
     20    offset-distance: 100%;
     21    offset-rotate: 0deg;
     22    offset-anchor: 0% 0%;
     23    width: 100px;
     24    height: 100px;
     25    background-color: green;
     26  }
     27 </style>
     28 
     29 <div id="outer">
     30  <div id="box"></div>
     31 </div>