How to make a div take the remaining height

You would think that such a basic problem would be solved within seconds of try and error or after a small trip to our favorite search engine.

But i personally had to come to the conclusion that it is not that simple, at least when you want to have a “CSS only” solution. To this day i stumbled across various approaches to solve this problem.
Continue reading