I am attempting to achieve a specific css layout using Flexbox (as an alternative to a css grid layout), but I am unsure if it is feasible to create what I have envisioned.
The HTML structure I am working with is as follows:
<div class="container">
<div class="div1">DIV 1</div>
<div class="div2">DIV 2</div>
<div class="div3">DIV 3</div>
</div>
Here is the layout I am aiming for (easily achievable with css grid):
https://i.sstatic.net/JjiIP.jpg
Furthermore, I would like divs 1 and 3 to remain fixed when scrolling, while the content of div2 should be scrollable.
I am uncertain if this can be accomplished; I have experimented with various flex settings, but I have not been successful in achieving the desired outcome.