tor-browser

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

row-dense-packing-002.html (1103B)


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