I am trying to do the simplest of things: Create a < main > that fills exactly the space between my < header > and < footer >. Inside this < main >, there is a < div > that should fill the < main > tag completely, leaving just a fixed 5px margin on all 4 sides.
Unfortunately, Flexbox is super confusing and full of pitfalls - making this truly painful.
Can anybody give me a hint on how to do this?
Thanks a lot!