title: How to set flex column child to go full available height?
body: <p>Consider the following code:</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>.container {
    display: flex;
    flex-direction: column;
  }
  
  .header {
    flex: 1;
    background-color: red;
  }
  
  .content {
    flex: 1;
    background-color: blue;
    height: 100%;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="container"&gt;
    &lt;div class="header"&gt;
      &lt;h1&gt;HEADER&lt;/h1&gt;
    &lt;/div&gt;
    &lt;div class="content"&gt;
      &lt;h1&gt;CONTENT&lt;/h1&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Why is my <code>CONTENT</code> not getting full available height (from <code>HEADER</code> bottom to the bottom of page) ? How to solve it ? </p>