tor-browser

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

row-auto-repeat-019.html (875B)


      1 <!DOCTYPE html>
      2 <html>
      3 <title>Auto-fit repeat tracks with fixed size and auto/explicit spanning item placement</title>
      4 <link rel="help" href="https://drafts.csswg.org/css-grid-3">
      5 <link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com">
      6 <link rel="match" href="row-auto-repeat-019-ref.html">
      7 <style>
      8 .grid-lanes {
      9    display: grid-lanes;
     10    flow-tolerance: 0;
     11    grid-lanes-direction: row;
     12    grid-template-rows: repeat(auto-fit, 50px);
     13    width: 200px;
     14    height: 500px;
     15    gap: 10px;
     16 }
     17 
     18 .grid-lanes > div {
     19    height: 100%;
     20    width: 50px;
     21    background-color: orange;
     22 }
     23 </style>
     24 <div class="grid-lanes">
     25  <div style="grid-row: span 4;">1</div>
     26  <div style="grid-row: 4 / span 2;">2</div>
     27  <div style="grid-row: 9 / span 2;">3</div>
     28  <div style="grid-row: 7;">4</div>
     29  <div style="grid-row: span 2;">5</div>
     30  <div>6</div>
     31 </div>
     32 </html>