title: Why height 100% doesn't work for the content?
body: <p>In this code I have a sticky footer and a content section above, but why <code>height:100%</code> doesn't work for content section?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>html {
    position: relative;
    min-height: 100%;
  }
  body {
    margin-bottom: 60px;
    height: 100%;
  }
  .content {
    background-color: #116655;
    height: 100%;
  }
  .footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: #ffcc44;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="content"&gt;
    &lt;div&gt;content&lt;/div&gt;
  &lt;/div&gt;
  
  &lt;footer class="footer"&gt;
    My footer
  &lt;/footer&gt;</code></pre>
  </div>
  </div>
  </p>