tor-browser

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

row-dense-packing-004-ref.html (1137B)


      1 <!DOCTYPE html>
      2 <html>
      3 <style>
      4 .grid {
      5    display: grid;
      6    grid-template-rows: repeat(4, 50px);
      7    grid-template-columns: repeat(4, 40px);
      8    grid-auto-flow: column;
      9 }
     10 .upwards {
     11    transform: translateX(-20px);
     12 }
     13 </style>
     14 <body>
     15  <p>Ensure that dense-packing in grid-lanes only places items with a specified track into track openings in that same specified track.</p>
     16  <div class="grid">
     17    <div style="background: brown; width: 20px;"></div>
     18    <div style="background: brown; width: 40px;"></div>
     19    <div style="background: pink; width: 20px;"></div>
     20    <div style="background: brown; width: 60px;"></div>
     21    <div style="background: brown; width: 20px; grid-row: span 2;"></div>
     22    <div style="background: brown; width: 20px; grid-row: span 4; transform: translateX(-20px);"></div>
     23    <div style="background: brown; width: 20px; grid-row: span 3; transform: translateX(-40px);"></div>
     24    <div style="background: yellow; width: 20px; grid-row-start: 4; transform: translateX(-40px);"></div>
     25    <div style="background: brown; width: 20px; grid-row: span 4; transform: translateX(-60px);"></div>
     26  </div>
     27 </body>
     28 </html>