← Tailwind CSS classes list

Tailwind CSS class: .mx-auto

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

Preview

Item

CSS source

.mx-auto { margin-right: auto; margin-left: auto; }

More in Tailwind CSS Margins