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