tailwind horizontal center 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 align-items: center;
Class Properties
items-start align-items: flex-start;
items-end align-items: flex-end;
items-center align-items: center;
items-baseline align-items: baseline;
items-stretch align-items: stretch;