I'm trying to make a flex layout with three rows, total 100% height. The main content should stretch to fill the remaining space. But this code makes the full page use just over 100% of the height.
Here is a minimal example:
html,
      body {
        height: 100%;
      }
      #container {
        height: 100%;
        display: flex;
        flex-flow: column;
      }
      #main {
        flex: 1;
      }
    <div id="container">
      <div id="main">
        main content
      </div>
      <div>
        footer one
      </div>
      <div>
        footer two
      </div>
    </div>