Reputation: 363
Making the gray boxes have equal height is trivial: .blue-box { display: flex }
The images have the same height by design. The white boxes contain variable amounts of text, so they're all different heights.
Is there a way to make the white boxes of equal height, without JavaScript?
Thank you.
Upvotes: 1
Views: 117
Reputation: 132
On gray boxes: display: flex; flex-direction: column;
On white boxes: flex-grow: 1;
Upvotes: 2