center align 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 center
<div class="flex justify-center ...">
<div>1</div>
<div>2</div>
<div>3</div>
</div>