tor-browser

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

row-dense-packing-multi-span-003.html (986B)


      1 <!DOCTYPE html>
      2 <html>
      3 <link rel="help" href="https://drafts.csswg.org/css-grid-3">
      4 <link rel="match" href="row-dense-packing-multi-span-003-ref.html">
      5 <link rel="author" title="Celeste Pan" href="mailto:celestepan@microsoft.com">
      6 <style>
      7 .grid-lanes {
      8    display: grid-lanes;
      9    flow-tolerance: 0;
     10    grid-lanes-direction: row;
     11    grid-template-rows: repeat(3, 50px);
     12    padding: 10px;
     13    grid-auto-flow: dense;
     14 }
     15 </style>
     16 <body>
     17  <p>Ensure that dense-packing places items that span more than 1 track correctly into gaps.</p>
     18  <div class="grid-lanes">
     19    <div style="background: lightskyblue; width: 20px;" >
     20      1
     21    </div>
     22    <div style="background: lightcoral; width: 20px;" >
     23      2
     24    </div>
     25    <div style="background: lightgreen; width: 40px;">
     26      3
     27    </div>
     28    <div style="background: brown; width: 10px; grid-row: span 3;">
     29      4
     30    </div>
     31    <div style="background:orchid; width: 10px; grid-row: span 2;">
     32      5
     33    </div>
     34  </div>
     35 </body>
     36 </html>