tailwind align middle code example
Example 1: tailwind flex align items center
<div class="flex items-center ...">
<div>1</div>
<div>2</div>
<div>3</div>
</div>
Example 2: vertical align tailwind
Class Properties
----- ----------
align-baseline vertical-align: baseline;
align-top vertical-align: top;
align-middle vertical-align: middle;
align-bottom vertical-align: bottom;
align-text-top vertical-align: text-top;
align-text-bottom vertical-align: text-bottom;
Example 3: 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;