I wanted to align cards of different heights into 2 columns that wrap into one row from left to right. I have tried things: display as grid and setting grid-template-row to some value and then assigning row spans. But that does not give me full control over the height of cards. I have around 6 divs returned as an array so cannot clearly think how flex box would give me two columns as flex is one dimensional.
My HTML is in the form of:
<div className="parent">
<div className="child-1"></div>
<div className="child-2"></div>
<div className="child-3"></div>
<div className="child-4"></div>
<div className="child-5"></div>
<div className="child-6"></div>
</div>