I have attached a rough idea of what I am trying to achieve, the dotted line represents the center of the container.
I am trying to center align one div element, then right align a second div within the same row, while both elements are centered horizontally.

CodePudding user response:
Try like this:
<script src="https://cdn.tailwindcss.com"></script>
<div >
<div ></div>
<div ></div>
<div >
<div ></div>
</div>
</div>
