tor-browser

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

grid-auto-repeat-positioned-container-001-ref.html (790B)


      1 <!DOCTYPE html>
      2 <link href="/css/support/grid.css" rel="stylesheet"/>
      3 <style>
      4 
      5 .grid {
      6    width: 100px;
      7    grid: repeat(5, 20px) / repeat(4, 25px);
      8    justify-content: start;
      9    align-content: start;
     10 }
     11 
     12 .item {
     13    background: green;
     14 }
     15 </style>
     16 
     17 <p>Test passes if you get a grid with 5 rows of 20px and 4 columns of 25px.</p>
     18 
     19 <pre id="log">grid: 20px 20px 20px 20px 20px / 25px 25px 25px 25px;</pre>
     20 
     21 <div class="wrapper">
     22    <div id="grid" class="grid">
     23        <div class="item" style="grid-area: 1 / 1;"></div>
     24        <div class="item" style="grid-area: 2 / 2;"></div>
     25        <div class="item" style="grid-area: 3 / 3;"></div>
     26        <div class="item" style="grid-area: 4 / 4;"></div>
     27        <div class="item" style="grid-row: 5; grid-column: 1 / -1;"></div>
     28    </div>
     29 </div>