gap-004-rtl.html (977B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Flexbox Test: gap - RTL intrinsic horizontal</title> 4 <link rel="author" title="Adam Argyle" href="mailto:argyle@google.com"> 5 <link rel="help" href="https://www.w3.org/TR/css-grid-1/#gutters"> 6 <link rel="help" href="https://www.w3.org/TR/css-align-3/#column-row-gap"> 7 <link rel="help" href="https://www.w3.org/TR/css-align-3/#gap-legacy"> 8 <link rel="match" href="gap-004-rtl-ref.html"> 9 <meta name="assert" content="The 'gap' property enables putting space exclusively between items"> 10 <style> 11 body { 12 direction: rtl; 13 } 14 section { 15 background-color: green; 16 block-size: 100px; 17 display: inline-flex; 18 gap: 20px; 19 } 20 section > div{ 21 background-color: grey; 22 color: white; 23 } 24 </style> 25 <body> 26 <p>Test passes if there are <strong> green lines between boxes</strong>.</p> 27 <section> 28 <div>Black Panther</div> 29 <div>Wonder Woman</div> 30 <div>Storm</div> 31 <div>Flash</div> 32 </section> 33 </body>