← Tailwind CSS classes list

Tailwind CSS class: .-mx-5

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

Preview

Item

Check .-mx-5 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-5 { margin-right: -1.25rem; margin-left: -1.25rem; }

More in Tailwind CSS Margins