tor-browser

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

row-explicit-placement-001.html (1011B)


      1 <!DOCTYPE html>
      2 <html>
      3 <link rel="help" href="https://drafts.csswg.org/css-grid-3">
      4 <link rel="match" href="row-explicit-placement-001-ref.html">
      5 <link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com">
      6 <style>
      7 .grid-lanes {
      8    display: grid-lanes;
      9    grid-auto-flow: column;
     10    grid-lanes-direction: row;
     11    background: gray;
     12    flow-tolerance: 0;
     13    height: 200px;
     14    gap: 20px;
     15    padding: 20px;
     16 }
     17 
     18 .first-track {
     19    background: lightskyblue;
     20    grid-row-start: 1;
     21 }
     22 
     23 .second-track {
     24    background: lightcoral;
     25    grid-row-start: 2;
     26 }
     27 
     28 .third-track {
     29    background: lightgreen;
     30    grid-row-start: 3;
     31 }
     32 </style>
     33 <body>
     34  <p>Test that grid-lanes items with explicit placement are correctly positioned within the grid axis.</p>
     35  <div class="grid-lanes">
     36    <div class="first-track">This is some text</div>
     37    <div class="second-track">Some larger words in this sentence</div>
     38    <div class="third-track">The cat cannot be separated from milk</div>
     39  </div>
     40 </body>
     41 </html>