row-reverse-003.html (880B)
1 <!DOCTYPE html> 2 <html> 3 <link rel="help" href="https://drafts.csswg.org/css-grid-3"> 4 <link rel="match" href="row-reverse-003-ref.html"> 5 <link rel="author" title="Celeste Pan" href="mailto:celestepan@microsoft.com"> 6 <style> 7 .grid-lanes { 8 display: grid-lanes; 9 flow-tolerance: 0; 10 grid-template-rows: repeat(3, 50px); 11 gap: 10px; 12 grid-lanes-direction: row-reverse; 13 direction: rtl; 14 } 15 </style> 16 <body> 17 <p>The CSS property `direction` is correctly applied on top of `grid-lanes-direction`</p> 18 <div class="grid-lanes"> 19 <div style="background: lavender;">Some larger words in this sentence</div> 20 <div style="background: lightgreen; width: min-content;">milk</div> 21 <div style="background: lightskyblue;">The cat cannot be separated from milk</div> 22 <div style="background: lavender;">Some larger words in this sentence</div> 23 </div> 24 </body> 25 </html>