← Tailwind CSS classes list

Tailwind CSS class: .-m-8

<span class="-m-8 inline-block bg-teal-400">Item</span>

Preview

Item

Check .-m-8 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

.-m-8 { margin: -2rem; }

More in Tailwind CSS Margins