gap-006-rtl-ref.html (873B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Flexbox Test: gap - wrap rtl horizontal</title> 4 <link rel="author" title="Adam Argyle" href="mailto:argyle@google.com"> 5 <style> 6 body { 7 direction: rtl; 8 } 9 10 section { 11 background-color: green; 12 block-size: 100px; 13 inline-size: 200px; 14 display: inline-flex; 15 flex-wrap: wrap; 16 } 17 section > div{ 18 background-color: grey; 19 color: white; 20 block-size: 20px; 21 } 22 #bp { 23 inline-size: 120px; 24 } 25 #ww { 26 inline-size: 130px; 27 } 28 #s, #f { 29 inline-size: 40px; 30 } 31 #bp, #ww { 32 margin-inline-end: 20px; 33 margin-block-end: 20px; 34 } 35 </style> 36 <body> 37 <p>Test passes if there are <strong> green lines between boxes</strong>.</p> 38 <section> 39 <div id=bp>Black Panther</div> 40 <div id=ww>Wonder Woman</div> 41 <div id=s>Storm</div> 42 <div id=f>Flash</div> 43 </section> 44 </body>