display center tailwind code example
Example 1: float center tailwind
absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2
Example 2: tailwind flex align items center
<div class="flex items-center ...">
<div>1</div>
<div>2</div>
<div>3</div>
</div>
Example 3: tailwind container center
<div class="container mx-auto">
<!-- ... -->
</div>