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