tor-browser

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

calc-width-block-1-ref.html (655B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4  <title>CSS Reference: width: calc() and min-width: calc() on blocks</title>
      5  <link rel="author" title="L. David Baron" href="https://dbaron.org/">
      6 <style type="text/css">
      7 
      8 body { width: 500px }
      9 p { background: green; color: white; margin: 1px 0; font-size: 10px }
     10 
     11 </style>
     12 </head>
     13 <body>
     14 
     15 <p style="width: 247px">50% - 3px</p>
     16 <p style="width: 247px">25% - 3px + 25%</p>
     17 <p style="width: 247px">25% - 3px + 12.5% * 2</p>
     18 <p style="width: 247px">25% - 3px + 12.5%*2</p>
     19 <p style="width: 247px">25% - 3px + 2*12.5%</p>
     20 <p style="width: 247px">25% - 3px + 2 * 12.5%</p>
     21 <p style="width: 250px">30% + 20%</p>
     22 </body>
     23 </html>