I am trying to make a website with some basic functionality, which currently just includes a navigation bar and the main content area. I wish for this main content area to take up the remainder of the vertical screen space with the exception of a slight margin on the bottom.
I have tried setting my various containers heights to 100% and that hasn't seemed to work; I was told this is due to the parent element not having a height associated with it (The body element is the parent elements). I have searched around SO and found various answers, but I haven't been able to implement them successfully.
The post most noteworthy is this one: Make a div fill the height of the remaining screen space My issue is that I am hoping that there is a solution to do this without putting everything into an overarching flexbox container.
The following codepin is similar to what my current website looks like: https://codepen.io/anon/pen/LoxpoK?editors=1100
I wish for this section to be extended to the bottom of the page:
<section class="content-block center-content">
<h1>
PLACEHOLDER
<br>
FOR TEXT, AND
<br>
THINGS
</h1>
</section>