← Tailwind CSS classes list

Tailwind CSS class: .-mx-2

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

Preview

Item

CSS source

.-mx-2 { margin-right: -0.5rem; margin-left: -0.5rem; }

More in Tailwind CSS Margins