I've successfully arranged elements in my HTML using flexbox to achieve a responsive design for a website. However, I've encountered an issue where the elements do not resize properly.
After applying a class of flex to the home-promos
div and rearranging the elements at a breakpoint, everything seems to be working fine.
The problem arises when I attempt to resize the divs to percentages widths. They only scale up to a certain point, like 50%, and then refuse to go any larger.
If there's anyone proficient with flexbox who can shed some light on what might be causing this issue, please let me know!
.home-promos {
display: flex;
}
.home-promo-center {
order: 1;
}
.home-promo-left {
order: 2;
}
.home-promo-right {
order: 3;
}
<div class="home-promos">
<div class="home-promo-left">
<div class="promo-left-content">
*content*
</div>
</div>
<div class="home-promo-center">
<div class="promo-center-content">
*content*
</div>
</div>
<div class="home-promo-right">
<div class="promo-right-content">
*content*
</div>
</div>
</div>