← Tailwind CSS classes list

Tailwind CSS class: .mx-4

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

Preview

Item

CSS source

.mx-4 { margin-right: 1rem; margin-left: 1rem; }

More in Tailwind CSS Margins