tor-browser

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

monolithic-overflow-016-print-ref.html (855B)


      1 <!DOCTYPE html>
      2 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
      3 <style>
      4  :root {
      5    print-color-adjust: exact;
      6  }
      7  body {
      8    margin: 0;
      9    line-height: 20px;
     10  }
     11 </style>
     12 <div style="position:absolute; top:100vh;">header</div>
     13 <div style="position:absolute; top:200vh;">header</div>
     14 <div style="position:absolute; top:300vh;">header</div>
     15 <div style="position:absolute; bottom:0;">footer</div>
     16 <div style="position:absolute; bottom:-100vh;">footer</div>
     17 <div style="position:absolute; bottom:-200vh;">footer</div>
     18 <div style="width:80%; padding-bottom:5px; background:hotpink;">
     19  header
     20  <div style="height:320vh; padding:3px; background:cyan;"></div>
     21  On the fourth page, right after a cyan box.<br>
     22  footer
     23 </div>
     24 Right after the hotpink box. Still fourth page.<br>
     25 Each page should have a header and footer.