center horizontally tailwind code example
Example 1: horizontal align tailwind
<div class="flex items-center justify-center h-screen">
<div class="bg-indigo-800 text-white font-bold rounded-lg border shadow-lg p-10">
Centered Content
</div>
</div>
Example 2: tailwind flex align items center
<div class="flex items-center ...">
<div>1</div>
<div>2</div>
<div>3</div>
</div>