tor-browser

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

offset-path-ray-022.html (830B)


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