I attempted to replicate the design shown in the image below:
https://i.sstatic.net/Q7sTI.png
Initially, I was successful in achieving this using JavaScript. However, when attempting to recreate the same effect using only CSS without any JavaScript, I encountered difficulties and failed. I am curious to know if this is a feasible task.
My current approach involves div elements, although it could be implemented with other HTML elements such as tables.
<div id="parent">
<div id="one">
Some dynamic content
</div>
<div id="two">
Should take up the remaining height
</div>
<div id="three">
Some dynamic content
</div>
</div>
For reference, here is a JSFiddle demonstrating the initial setup.
Thank you for any assistance provided.