If i resize the window less than the total of min-width flex-items (here 653px), a scrollbar appears but the flexbox take the current size of the window and flex-items don't get a red background, i would like to know how can i make a min-width for the flexbox container without typing a specific value like
#topbanner { min-width: 653px; }
I don't want shrink flex-items, but a css way to get that:
flexbox.min-width = (flex_items_min_width += flex-item[n].min-width)
<div id="main">
<div id="topbanner">
<div id="topbanner_content">
<div id="topbanner_icon">
<a href="#">
<img src="" id="icon"/>
</a>
</div>
<div id="topbanner_searchbar">
<form method="get" action="">
<input id="topbanner_searchbar_input" type="text" name="text" placeholder="Search..."/>
<input type="submit" hidden />
</form>
</div>
<div id="main_button_unlogged">
<a href="#">Login</a>
<a href="#">Register</a>
</div>
</div>
</div>