title: Sticky footer with long text
body: <p>I have long text in my page. I want my footer to stick to the bottom and text should be hidden under the footer so I can scroll the text. There should be no text under the footer. How can I do that? </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 {}
    footer {
          position: absolute;
          bottom: 0;
         }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;html&gt;
  &lt;div class="container"&gt;
    &lt;p&gt;Long long text&lt;/p&gt;
    &lt;footer&gt;My footer&lt;/footer&gt;
  &lt;/div&gt;
  
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>