JSFiddle - React, Tailwind, and code Playground
HTML
<div class="wrapper">
<div class="left">
UGH
</div>
<div class="right">
AGH
</div>
</div>
CSS
.wrapper{
width:600px;
background-color:red;
padding: 0 50px 0 50px;
}
.left{
display:inline;
background-color:pink;
max-width:240px;
margin-right:10px;
}
.right{
display:inline;
background-color:grey;
max-width:240px;
margin-left:10px;
}