gap-002-rl.html (861B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Flexbox Test: gap - vertical with vertical RL writing mode</title> 4 <link rel="author" title="Adam Argyle" href="mailto:argyle@google.com"> 5 <link rel="help" title="The 'gap' property" href="https://www.w3.org/TR/css-align-3/#gaps"> 6 <link rel="match" href="gap-002-rl-ref.html"> 7 <meta name="assert" content="The 'gap' property enables putting space exclusively between items"> 8 <style> 9 body { 10 writing-mode: vertical-rl; 11 } 12 13 section { 14 background-color: green; 15 block-size: 200px; 16 display: flex; 17 flex-direction: column; 18 gap: 20px; 19 } 20 section > div{ 21 background-color: grey; 22 flex: 1 1 auto; 23 } 24 </style> 25 <body> 26 <p>Test passes if there is <strong>a green vertical line between boxes</strong>.</p> 27 <section> 28 <div></div> 29 <div></div> 30 <div></div> 31 </section> 32 </body>