title: Flexbox height percentages
body: <p>I have a basic flexbox layout that I am trying to apply height percentages to, currently they all occupy the same percentage…</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>html,
  body {
    height: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
  }
  
  .row_one {
    background: blue;
    height: 30%;
  }
  
  .row_two {
    background: wheat;
    height: 30%;
  }
  
  .row_three {
    background: yellow;
    height: 40%;
  }
  
  .fill-height-or-more {
    min-height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .fill-height-or-more &gt; div {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;section class="some-area fill-height-or-more"&gt;
    &lt;div class="row_one"&gt;
      Row 1
    &lt;/div&gt;
    &lt;div class="row_two"&gt;
      Row 2
    &lt;/div&gt;
    &lt;div class="row_three"&gt;
      Row 3
    &lt;/div&gt;
  &lt;/section&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Is this even possible with flexbox? If so, does anybody have an example they can point me in the direction of?</p>