title: How to make a flexible 2x3 grid using flexbox
body: <p>I'm trying to create a HTML page that has 3 rows of 2 cells in each.  I want all 6 cells to fill the entire page equally without having to specify a height so that when the browser is re-sized, so to are the cells.</p>
  
  <p>I am trying to use the following flex layout but I'm getting them all in a row.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.outer {
    display: flex;
    min-height: 100%;
  }
  
  .row {
    border: 1px solid blue;
    display: flex;
    flex: 1.0;
    flex-grow: 1.0;
  }
  
  .item {
    background-color: orange;
    flex: .5;
    flex-grow: 0.5;
    border: 1px solid red;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="outer"&gt;
    &lt;div class="row"&gt;
      &lt;div class="item"&gt;&lt;/div&gt;
      &lt;div class="item"&gt;&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="row"&gt;
      &lt;div class="item"&gt;&lt;/div&gt;
      &lt;div class="item"&gt;&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>