tor-browser

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

calc-transform-origin-1-ref.html (508B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4  <title>CSS Reference: Test for calc() on transform-origin</title>
      5  <link rel="author" title="L. David Baron" href="https://bugzilla.mozilla.org/show_bug.cgi?id=594934">
      6 <style type="text/css">
      7 
      8 body { margin: 100px }
      9 
     10 p {
     11    height: 50px; width: 200px;
     12    background: yellow;
     13    transform: rotate(15deg);
     14 }
     15 
     16 #one { transform-origin: 150px 20px; }
     17 #two { transform-origin: -22px -35px; }
     18 
     19 </style>
     20 </head>
     21 <body>
     22 <p id="one">hello</p>
     23 <p id="two">hello</p>
     24 </body>
     25 </html>