JSFiddle - React, Tailwind, and code Playground
by QMaster
HTML
<body>
<div id="main">
<div style="background-color:coral;"></div>
<div style="background-color:lightgrey;"></div> <div style="background-color:lightblue;"></div>
<div style="background-color:khaki;"></div>
<div style="background-color:pink;"></div>
<div style="background-color:lightgrey;"></div>
<div style="background-color:coral;"></div>
</div>
<p><b>Note:</b> Internet Explorer and Safari do not support the flex-grow property.</p>
</body>
CSS
#main {
min-width: 560px;
height: 100px;
border: 1px solid #c3c3c3;
display: flex;
}
#main div:nth-of-type(1) {width: 80px;}
#main div:nth-of-type(2) {width: 48px;}
#main div:nth-of-type(3) {flex-grow: 1; min-width: 50px; flex-shrink: 3;}
#main div:nth-of-type(4) {width: 360px;}
#main div:nth-of-type(5) {flex-grow: 1; min-width: 50px; flex-shrink: 1;}
#main div:nth-of-type(6) {width: 48px;}
#main div:nth-of-type(7) {width: 80px;}