tor-browser

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

column-dense-packing-002.html (1088B)


      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-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    background: gray;
     10    flow-tolerance: 0;
     11    grid-template-columns: repeat(3, 50px);
     12    padding: 10px;
     13    grid-auto-flow: dense;
     14 }
     15 </style>
     16 <body>
     17  <p>Ensure that dense-packing packs items in the start-most track opening. Item 6 should go into the left-most track opening.</p>
     18  <div class="grid-lanes">
     19    <div style="background: lightskyblue; height: 20px;" >
     20      1
     21    </div>
     22    <div style="background: lightcoral; height: 60px;" >
     23      2
     24    </div>
     25    <div style="background: lightgreen; height: 20px;">
     26      3
     27    </div>
     28    <div style="background: brown; height: 10px; grid-column: span 3;">
     29      4
     30    </div>
     31    <div style="background:orchid; height: 10px; grid-column: span 2;">
     32      5
     33    </div>
     34    <div style="background: yellow; height: 40px;">
     35      6
     36    </div>
     37  </div>
     38 </body>
     39 </html>