tor-browser

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

gap-009-ltr.html (969B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Flexbox Test: gap - mixed units</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-009-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    display: flex;
     15    gap: 50% 1rem;
     16    flex-wrap: wrap;
     17  }
     18  section > div{
     19    background-color: grey;
     20    width: calc(50% - .5rem);
     21  }
     22 </style>
     23 <body>
     24  <p>Test passes if there are <strong> 50% horizontal green line and 1rem vertical green line between boxes</strong>.</p>
     25  <section>
     26    <div></div>
     27    <div></div>
     28    <div></div>
     29    <div></div>
     30  </section>
     31 </body>