JSFiddle - React, Tailwind, and code Playground
HTML
<div class="wrapper">
<div class="content">
<div class="left" >111111111111111111111<br/>more</div>
<div class="right">222222222222222222222222</div>
</div>
</div>
CSS
.wrapper {
height:200px;
width:80%;
background:red ;
margin: 0 auto;
}
.content{
width:350px;
height:100%;
background:rgba(0,255,0,0.5);
margin:0 auto ;
overflow:auto;
background-color:yellow;
}
.left{
float:left;
width:50%;
min-width:100px;
height:100%;
background-color:pink;
display:inline-block;
}
.right{
min-width:100px;
background-color:purple;
height:100%;
margin-left:50%;
display:inline-block;
}
.item{ border: 1px solid blue;
display:inline-block;
background-color:blue;
width
margin: 0 auto 0 auto;
}