I am working on a page that features five unique panels, each with its own distinct height and width. I have been considering implementing CSS Flexbox to ensure these panels stack properly as the page becomes responsive.
However, one major issue I've encountered is that when using CSS Flexbox, all of the divs are being set to the same height, which does not align with my intentions for this layout.
Below is the Haml code used to generate the HTML structure:
.property-information
.general-information-panel
enough content for a height of 60px;
.government-information-panel
enough content for a height of 100px;
.owner-information-panel
enough content for a height of 80px;
Here is the corresponding CSS styling:
.property-information{
font-size: 15px;
opacity: .75;
display: inline-flex;
justify-content: space-between;
}
.general-information-panel{
background-color: #e7f5fe;
width: 400px;
}
.government-information-panel{
background-color: #e7f5fe;
width: (500px;
}
.property-owner-information-panel{
background-color: #e7f5fe;
width: 400px;
}
My question remains: Is there a way to utilize CSS Flexbox while accommodating divs or panels with varying heights?