Seeking a method to organize 3 divs that will collectively fill the entire height of the container.
Sample code:
<div class="container">
<div class="item-1"></div>
<div class="item-2"></div>
<div class="item-3"></div>
</div>
This means that if the container is 300px tall, each item should be 100px in height or occupy 33.33333% of the parent's height.
I have brainstormed some ideas, mainly involving javascript and calculations, but it would be ideal to find a CSS-only solution.