tor-browser

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

offset-path-ray-019.html (932B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <title>CSS Motion Path: ray paths</title>
      5    <link rel="help" href="https://drafts.fxtf.org/motion-1/#offset-path-property">
      6    <link rel="match" href="offset-path-ray-019-ref.html">
      7    <meta name="assert" content="Tests ray() when sharing style with different sized containing blocks.">
      8    <style>
      9      #container1 {
     10        width: 100px;
     11        height: 100px;
     12      }
     13      #container2 {
     14        width: 200px;
     15        height: 200px;
     16      }
     17      #target {
     18        position: relative;
     19        width: 50px;
     20        height: 50px;
     21        background-color: lime;
     22        transform-origin: 0px 0px;
     23        offset-path: ray(90deg sides);
     24        offset-distance: 100%;
     25        offset-position: auto;
     26      }
     27    </style>
     28  </head>
     29  <body>
     30    <div id="container1">
     31      <div id="target"></div>
     32    </div>
     33    <div id="container2">
     34      <div id="target"></div>
     35    </div>
     36  </body>
     37 </html>