Flex footer

HTML

<div id="content">
  <div id="drawing">
    <svg>
      <g>
        <circle cx="40" cy="40" r="24"/>
        <circle cx="80" cy="80" r="24"/>
        <circle cx="120" cy="120" r="24"/>
        <circle cx="160" cy="160" r="24"/>
      </g>
    </svg>
  </div>
  <div id="menu">
    <div id="menuitems">
      <div class="menuitem" id="hi">Hi</div>
    </div>
  </div>
</div>

CSS

body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow: hidden;
}


#content {
    display: flex;
    flex-direction:column;
    width: 100%;
    height: 100%;
    background-color: white;
}

#content #drawing {
    background-color: red;
    flex-grow:1;
    height:85%;
}

#content #menu {
    flex-grow: 0;
    flex-shrink: 0;
    height:15%;
    flex-basis: auto;
    background-color: blue;
}

#menuitems {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    cursor: default;
    color: #ccc;
}

.menuitem {
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: 10px;
    white-space: nowrap;
    width: auto;
    border: 2px dashed #ccc;
    border-radius: 5px;
    margin: 5px;
    padding: 5px;
}

svg {
    width: 100%;
    height: 100%; /* this is the offensive style */
    top: 0;
    left: 0;
}

JavaScript

document.getElementById("hi").addEventListener("mouseenter", function() {
	this.innerHTML = "Hello";
});

document.getElementById("hi").addEventListener("mouseleave", function() {
	this.innerHTML = "Goodbye";
});