tor-browser

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

column-reverse-dense-packing-multi-span-001-ref.html (838B)


      1 <!DOCTYPE html>
      2 <html>
      3 <style>
      4 .grid {
      5  display: grid;
      6  grid-auto-flow: dense;
      7  grid-template-columns: repeat(4, 50px);
      8 }
      9 </style>
     10 <body>
     11 <p>Ensure that dense-packing places multi-spanning item into highest eligible track opening. The yellow item should be placed in track opening.</p>
     12 <div class="grid">
     13  <div style="background: lightskyblue; height: 70px; grid-column: 4;" >
     14    1
     15  </div>
     16  <div style="background: lightblue; height: 20px; grid-column: 1;" >
     17    2
     18  </div>
     19  <div style="background: darkblue; height: 20px; grid-column: 1 / span 2; transform: translateY(-50px);">
     20    3
     21  </div>
     22  <div style="background: lightsteelblue; height: 20px; grid-column: span 4; transform: translateY(-20px);" >
     23    4
     24  </div>
     25  <div style="background: yellow; height: 10px; grid-column: span 2;" >
     26    5
     27  </div>
     28 </div>
     29 </body>
     30 </html>