tor-browser

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

row-auto-repeat-001.html (1023B)


      1 <!DOCTYPE html>
      2 <html>
      3 <title>Auto repeat tracks with fixed size</title>
      4 <link rel="help" href="https://drafts.csswg.org/css-grid-3">
      5 <link rel="match" href="row-auto-repeat-001-ref.html">
      6 <link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com">
      7 <style>
      8 .grid-lanes {
      9    display: grid-lanes;
     10    background: gray;
     11    flow-tolerance: 0;
     12    grid-lanes-direction: row;
     13    grid-template-rows: repeat(auto-fill, 100px);
     14    width: 300px;
     15    height: 300px;
     16 }
     17 
     18 .grid-lanes > div {
     19    width: 100px;
     20    height: 100%;
     21 }
     22 </style>
     23 <body>
     24  <div class="grid-lanes">
     25    <div style="background: lightskyblue;">
     26      Number 1
     27    </div>
     28    <div style="background: lightcoral;">
     29      Number 2
     30    </div>
     31    <div style="background: lightgreen;">
     32      Number 3
     33    </div>
     34    <div style="background: lightpink;">
     35      Number 4
     36    </div>
     37    <div style="background: orange;">
     38      Number 5
     39    </div>
     40    <div style="grid-row: span 2; background: brown;">
     41      Number 6
     42    </div>
     43  </div>
     44 </body>
     45 </html>