I'm trying to increase the height of a div to follow the bottom of the page, so far I've tried using height: 50vh
but this causes the height to increase proportionally and not in parallel.
If you increase the height of this snippet (in full screen), you'll see what I mean. I basically want the bottom of the coloured div
just above the word 'Portfolio', at the bottom of the screen, no matter how much height the page has.
#header-bg {
height: 50vh;
background-color: peachpuff;
}
#portfolio {
width: 100%;
text-align: center;
}
<div id="header-bg"></div>
<div id="portfolio">
<h1>
Portfolio
</h1>
</div>