tor-browser

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

row-explicit-placement-002.html (1117B)


      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-002-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    margin: 20px;
     22 }
     23 
     24 .second-track {
     25    background: lightcoral;
     26    grid-row-start: 2;
     27    height: 80px;
     28    margin-top: 40px;
     29    margin-bottom: 80px;
     30 }
     31 
     32 .third-track {
     33    background: lightgreen;
     34    grid-row-start: 3;
     35    margin-left: 40px;
     36 }
     37 </style>
     38 <body>
     39  <p>Test that grid-lanes items with explicit placement are correctly positioned within the grid axis.</p>
     40  <div class="grid-lanes">
     41    <div class="first-track">This is some text</div>
     42    <div class="second-track">Some larger words in this sentence</div>
     43    <div class="third-track">The cat cannot be separated from milk</div>
     44  </div>
     45 </body>
     46 </html>