JSFiddle - React, Tailwind, and code Playground
HTML
<div id="wrapper">
<div id="left">
1
</div>
<div id="right">
<span>2</span>
</div>
</div>
CSS
* {
padding: 0;
margin: 0;
}
#wrapper {
left: 0;
margin: 0 auto;
max-width: 900px !important;
width: 70%;
min-width: 600px !important;
right: 0;
height: 200px;
display: table;
overflow: hidden;
}
#left {
background: #a3a3a3;
width: 150px;
text-align: center;
display: table-cell;
}
#right {
background: #f3f3f3;
text-align: center;
overflow: hidden;
min-width: 450px;
max-width: 800px !important;
display: table-cell;
}
#right span {
background: yellow;
width: 450px !important;
display: block;
padding: 0;
margin: 0;
}