CSS3 is amazing – and thanks to this, we can achieve 100% child height on a div
. To do so, on the child div
, apply the following:
align-items: stretch;
The parent should have the following style:
display:flex;
It’s that straightforward!
CSS3 is amazing – and thanks to this, we can achieve 100% child height on a div
. To do so, on the child div
, apply the following:
align-items: stretch;
The parent should have the following style:
display:flex;
It’s that straightforward!