← Tailwind CSS classes list

Tailwind CSS class: .-mx-0

    <div class="bg-gray-300 mx-auto h-20 w-36">
        <div class="-mx-0 p-6 bg-teal-400 text-sm"></div>
    </div>

Preview

Check .-mx-0 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.

More in Tailwind CSS Positioning