title: Using 'height: 100%' and 'align-items: stretch' in flexbox
body: <p>I have a flexbox with a direct child that is declared with <code>align-items: stretch</code>.</p>
  
  <p>Inside this flexbox's direct child, I would like to have a div container that also uses its parent's full height (by setting <code>height: 100%</code>).</p>
  
  <p>However, the div container won't stretch to 100% height of its parent, unless I also set <code>height: 100%</code> on the flexbox's direct child.</p>
  
  <p>Is it kind of bug? Must I set the flexbox's direct child with <code>align-items: stretch</code> AND <code>height: 100%</code> to achieve what I want? It seem redundant to me.</p>
  
  <p>Here is an example:</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 {
    margin: 0;
    height: 100%;
  }
  
  .flexbox {
    display: flex;
    flex-direction: row;
    height: 100%;
    background-color: green;
  }
  
  .flexbox-child {
    // height: 100%; uncommenting this will get it to work
    align-items: stretch;
    background-color: blue;
  }
  
  .flexbox-grand-child {
    height: 100%;
    background-color: red;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="flexbox"&gt;
    &lt;div class="flexbox-child"&gt;
      &lt;div class="flexbox-grand-child"&gt;
        I want to be stretched till the bottom
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><a href="http://plnkr.co/edit/FACkwsC2y65NcbOaceur?p=preview" rel="nofollow noreferrer">http://plnkr.co/edit/FACkwsC2y65NcbOaceur?p=preview</a></p>
  
  <p>Thanks!</p>