tor-browser

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

flexbox-column-row-gap-003-ref.html (1472B)


      1 <!DOCTYPE html>
      2 <!--
      3     Any copyright is dedicated to the Public Domain.
      4     http://creativecommons.org/publicdomain/zero/1.0
      5 -->
      6 <html>
      7 <head>
      8  <title>Reference: Testing cross size computation with row and column gaps in horizontal multi-line flex containers</title>
      9  <link rel="author" title="Mihir Iyer" href="mailto:miyer@mozilla.com">
     10  <meta charset="utf-8">
     11 </html>
     12  <style>
     13    .flexContainer {
     14      display: flex;
     15      border: 1px solid black;
     16      column-gap: 20px;
     17      row-gap: 40px;
     18      align-content: space-around;
     19      justify-content: space-around;
     20    }
     21    .rowWrap {
     22      flex-flow: row wrap;
     23    }
     24    .item {
     25      border: 1px solid blue;
     26      background: lightblue;
     27      width: 28px;
     28      height: 28px;
     29    }
     30    .autoLBMargins {
     31      margin-left: auto;
     32      margin-bottom: auto;
     33    }
     34    .w200 {
     35      width: 200px;
     36    }
     37    .h100 {
     38      height: 100px;
     39    }
     40    .h90 {
     41      height: 90px;
     42    }
     43  </style>
     44 </head>
     45 <body>
     46  <div class="flexContainer rowWrap w200 h100">
     47    <div class="item"></div>
     48    <div class="item"></div>
     49    <div class="item"></div>
     50    <div class="item"></div>
     51    <div class="item autoLBMargins"></div>
     52    <div class="item"></div>
     53  </div>
     54  <div class="flexContainer rowWrap w200 h90">
     55    <div class="item"></div>
     56    <div class="item"></div>
     57    <div class="item"></div>
     58    <div class="item"></div>
     59    <div class="item autoLBMargins"></div>
     60    <div class="item"></div>
     61  </div>
     62 </body>
     63 </html>