I am trying to make a right hand menu with is always the same number of pixels wide and stretches too the bottom of the screen. To the left of that I want a div which fills up the rest of the space. The picture of what I have is shown here:
The HTML and CSS I am trying out are something like this:
<div class=App>
<div class=Content>
More Test
</div>
<div class=Menu>
Just Test Text
</div>
</div>
.App {
text-align: center;
display: flex;
width: 100%;
height: 100%;
}
.Menu {
background-color: #080;
flex: 0 0 200px;
}
.Content {
background-color: #f00;
flex: auto;
}
Here is a link to a working version of the simple page: