I've scoured the internet high and low for a solution to my problem, but I just can't seem to find anything that fits my needs perfectly. The answers I have come across are either outdated or not quite what I'm looking for. I'm really hoping someone can assist me with this.
I'm using bootstrap 4 in my application, so if it can be achieved with bootstrap, that would be fantastic. However, pure CSS is also acceptable.
What I'm trying to accomplish is having 4 divs side by side.
For example:
<div class="row">
<div class="col">
<h1>Item 1</h1>
</div>
<div class="col">
<h1>Item 2</h1>
</div>
<div class="col">
<h1>Item 2</h1>
</div>
<div class="col">
<h1>Item 2</h1>
</div>
</div>
This layout works well with bootstrap 4, but now I also want the height of the divs to extend to the bottom of the screen. If the content within a div is longer than the screen height, it should have a scroll bar within the div.
I've considered using flex boxes, but I haven't been able to make it work.