gap-003-rtl.html (964B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Flexbox Test: gap - RTL rows and columns</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-003-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 15 section { 16 background-color: green; 17 block-size: 100px; 18 display: flex; 19 gap: 20px; 20 flex-wrap: wrap; 21 } 22 section > div{ 23 background-color: grey; 24 width: calc(50% - 10px); 25 } 26 </style> 27 <body> 28 <p>Test passes if there are <strong> green lines between boxes</strong>.</p> 29 <section> 30 <div></div> 31 <div></div> 32 <div></div> 33 <div></div> 34 </section> 35 </body>