tor-browser

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

flex-flow-002.html (1182B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Flexbox Test: flex-flow - row wrap</title>
      4 <link rel="author" title="Intel" href="http://www.intel.com">
      5 <link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
      6 <link rel="help" title="5.3. Flex Direction and Wrap: the 'flex-flow' shorthand" href="http://www.w3.org/TR/css-flexbox-1/#flex-flow-property">
      7 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-direction">
      8 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-wrap-property">
      9 <link rel="match" href="flex-flow-002-ref.html">
     10 <meta name="assert" content="The 'flex-flow' property set 'row wrap' controls the flex container is multi-line">
     11 <style>
     12  #test {
     13    background-color: red;
     14    display: flex;
     15    flex-flow: row wrap;
     16    height: 100px;
     17    width: 100px;
     18  }
     19  #test div {
     20    background-color: green;
     21    height: 50px;
     22    width: 50px;
     23  }
     24 </style>
     25 <body>
     26  <p>Test passes if there is a filled green square and <strong>no red</strong>, the number within square is '1 2 3 4'
     27  from left to right, top to bottom.</p>
     28  <div id="test">
     29    <div>1</div>
     30    <div>2</div>
     31    <div>3</div>
     32    <div>4</div>
     33  </div>
     34 </body>