05 Dec, 2024
Cream/Gels
Answer: Use the CSS3 flexbox
With CSS3 flex layout model you can very easily create the equal height columns or <div>
elements that are aligned side by side. Just apply the display
property with the value flex
on the container element and the flex
property with the value 1 on child elements.
Let's try out the following example to understand how it basically works: