is now part of Shuffle™. The new editor includes templates for Tailwind CSS, Bootstrap, Bulma, and Material-UI.
Switch to Shuffle →
← Tailwind CSS classes list

Tailwind CSS class: .mx-auto

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



Check .mx-auto in a real project

Click one of the examples listed below to open the Shuffle Visual Editor with the UI library that uses the selected component.

CSS source

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

More in Tailwind CSS Margins