The stacked boxes below were made with the following html code (notice the
flex-grow properties and the
outer container's
display:flex):
<div id="container"style="display:flex;">
<div id="boxb1" style="
width:200px;
height:500px;
float:left;
background-color: pink;
">Box 1</div><!-- close box1 -->
<div id="box2b" style="
width:200px;
height:500px;
float:left;
background-color: yellow;
">Box 2</div><!-- close box2 -->
<div id="box3b" style="
width:30%; flex-grow: 1;
height:500px;
float:left;
background-color: magenta;
">Box 3</div><!-- close box3 -->
</div>