gap-006-rl.html (1181B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Flexbox Test: gap - wrap rl 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-006-rl-ref.html"> 9 <meta name="assert" content="The 'gap' property enables putting space exclusively between items"> 10 <style> 11 body { 12 writing-mode: vertical-rl; 13 } 14 15 section { 16 background-color: green; 17 block-size: 100px; 18 inline-size: 200px; 19 display: inline-flex; 20 flex-wrap: wrap; 21 gap: 20px; 22 } 23 section > div{ 24 background-color: grey; 25 color: white; 26 block-size: 20px; 27 } 28 #bp { 29 inline-size: 120px; 30 } 31 #ww { 32 inline-size: 130px; 33 } 34 #s, #f { 35 inline-size: 40px; 36 } 37 </style> 38 <body> 39 <p>Test passes if there are <strong> green lines between boxes</strong>.</p> 40 <section> 41 <div id=bp>Black Panther</div> 42 <div id=ww>Wonder Woman</div> 43 <div id=s>Storm</div> 44 <div id=f>Flash</div> 45 </section> 46 </body>