← Tailwind CSS classes list

Tailwind CSS class: .my-auto

<span class="my-auto inline-block bg-teal-400">Item</span>

Preview

Item

CSS source

.my-auto { margin-top: auto; margin-bottom: auto; }

More in Tailwind CSS Margins