I should of course have mentioned that users will be able to resize the width and height of
.container. So unfortunately I can’t set a fixed height on any children.
Flex-basis+grow works nicely for the layout. Thank you. Just need it to overflow below 25em now..
Updated version: https://codepen.io/anon/pen/eRaRYo