tor-browser

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

offset-path-ray-003.html (829B)


      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-003-ref.html">
      7    <meta name="assert" content="This tests that ray() generates a rotation and translation.">
      8    <style>
      9      #container {
     10        width: 400px;
     11        height: 400px;
     12      }
     13      #target {
     14        position: relative;
     15        left: 100px;
     16        top: 100px;
     17        width: 100px;
     18        height: 50px;
     19        background-color: lime;
     20        transform-origin: 0px 0px;
     21        offset-path: ray(135deg closest-side);
     22        offset-distance: 100%;
     23        offset-position: auto;
     24      }
     25    </style>
     26  </head>
     27  <body>
     28    <div id="container">
     29      <div id="target"></div>
     30    </div>
     31  </body>
     32 </html>