tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

gap-006-ltr.html (1134B)


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