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