title: 3 rows, 100% height layout, with flexbox
body: <p>I'd like to know: is it possible to build a 3 rows layout, 100% height, with flexbox?</p>
  
  <pre><code>&lt;header&gt; The header content goes here. &lt;/header&gt;
  &lt;div class="content"&gt; The main content goes here. &lt;/div&gt;
  &lt;footer&gt; The footer content goes here. &lt;/footer&gt;
  </code></pre>
  
  <p>fixed-height header and footer, while content the liquid part.</p>
  
  <p>I mean, something like this but without absolute positioning:</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>* {
    margin: 0;
  }
  header {
    position: absolute;
    width: 100%;
    height: 64px;
    top: 0;
    background: red;
  }
  footer {
    position: absolute;
    width: 100%;
    height: 64px;
    bottom: 0;
    background: green;
  }
  .content {
    position: absolute;
    width: 100%;
    top: 64px;
    bottom: 64px;
    background: blue;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;header&gt;The header content goes here.&lt;/header&gt;
  
  &lt;div class="content"&gt;The main content goes here.&lt;/div&gt;
  
  &lt;footer&gt;The footer content goes here.&lt;/footer&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><a href="http://jsfiddle.net/BMxzn/" rel="nofollow noreferrer">http://jsfiddle.net/BMxzn/</a></p>