tor-browser

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

column-auto-repeat-002.html (1011B)


      1 <!DOCTYPE html>
      2 <html>
      3 <title>Auto repeat tracks with percentage track sizes</title>
      4 <link rel="help" href="https://drafts.csswg.org/css-grid-3">
      5 <link rel="match" href="column-auto-repeat-002-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-template-columns: repeat(auto-fill, 25%);
     13    width: 300px;
     14    height: 200px;
     15 }
     16 
     17 .grid-lanes > div {
     18    width: 100%;
     19    height: 100px;
     20 }
     21 </style>
     22 <body>
     23  <div class="grid-lanes">
     24    <div style="background: lightskyblue;">
     25      Number 1
     26    </div>
     27    <div style="background: lightcoral;">
     28      Number 2
     29    </div>
     30    <div style="background: lightgreen;">
     31      Number 3
     32    </div>
     33    <div style="background: lightpink;">
     34      Number 4
     35    </div>
     36    <div style="background: orange;">
     37      Number 5
     38    </div>
     39    <div style="grid-column: span 2; background: brown;">
     40      Number 6
     41    </div>
     42  </div>
     43 </body>
     44 </html>