row-reverse-003-ref.html (681B)
1 <!DOCTYPE html> 2 <html> 3 <style> 4 .grid-lanes { 5 display: grid-lanes; 6 flow-tolerance: 0; 7 grid-template-rows: repeat(3, 50px); 8 grid-lanes-direction: row; 9 direction: rtl; 10 gap: 10px; 11 } 12 </style> 13 <body> 14 <p>The CSS property `direction` is correctly applied on top of `grid-lanes-direction`</p> 15 <div class="grid-lanes"> 16 <div style="background: lightskyblue;">The cat cannot be separated from milk</div> 17 <div style="background: lightgreen; width: min-content;">milk</div> 18 <div style="background: lavender;">Some larger words in this sentence</div> 19 <div style="background: lavender;">Some larger words in this sentence</div> 20 </div> 21 </body> 22 </html>