tor-browser

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

flex-basis-001.html (1012B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Flexbox Test: flex-basis - positive number</title>
      4 <link rel="author" title="Intel" href="http://www.intel.com">
      5 <link rel="author" title="Intel" href="mailto:shiyoux.tan@intel.com">
      6 <link rel="help" title="7.3.3. The 'flex-basis' property" href="http://www.w3.org/TR/css-flexbox-1/#flex-basis-property">
      7 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      8 <meta name="assert" content="The 'flex-basis' property set positive number, the actual value of test element size is same as the positive number">
      9 <style>
     10  #container {
     11    background-color: red;
     12    display: flex;
     13    height: 100px;
     14    width: 100px;
     15  }
     16  #container div{
     17    background-color: green;
     18    height: 100px;
     19  }
     20  #test {
     21    flex-basis: 60px;
     22  }
     23  #ref {
     24    width: 40px;
     25  }
     26 </style>
     27 <body>
     28  <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     29  <div id="container">
     30    <div id="test"></div>
     31    <div id="ref"></div>
     32  </div>
     33 </body>