tor-browser

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

column-dense-packing-multi-span-002.html (963B)


      1 <!DOCTYPE html>
      2 <html>
      3 <link rel="help" href="https://drafts.csswg.org/css-grid-3">
      4 <link rel="match" href="column-dense-packing-multi-span-002-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-template-columns: 10px 10px 20px 15px 5px;
     11    grid-auto-flow: dense;
     12 }
     13 </style>
     14 <body>
     15  <p>Ensure that dense-packing with multi-span items are placed into tracks with the same used size and the same number of tracks.</p>
     16  <div class="grid-lanes">
     17    <div style="background: lightskyblue; height: 20px; grid-column: 3" >
     18      1
     19    </div>
     20    <div style="background: lightblue; height: 20px; grid-column: span 5" >
     21      2
     22    </div>
     23    <div style="background: darkblue; height: 20px; grid-column: span 3;">
     24      3
     25    </div>
     26    <div style="background: yellow; height: 20px; grid-column: span 2;" >
     27      4
     28    </div>
     29  </div>
     30 </body>
     31 </html>