Flexbox: How to make content take up remaining space after fixed sidebar

Sep 25, 20204 min read

It's a classic scenario. You have a sidebar, and you have content. They are getting in the way of each other, and float: left isn't going to cut it. Flexbox was made for this kind of thing! To begin, find the common element that contains both your si...