JSFiddle - React, Tailwind, and code Playground

HTML

<div class="container">
    <div class="center">
        <div class="left">LEFT</div>
        <div class="right">RIGHT</div>
    </div>
</div>

CSS

div.left {
    background:blue;
    height:200px;
    width:250px;
}
div.right {
    background:green;
    height:300px;
    width:250px;
}
div.center {
    text-align: left;
 
}
.container {
    text-align: center;
}
.container div {
    display: inline-block;
    
}