Skip to main content

Dec 26, 2024

A "!" prefix makes any Tailwind CSS class important

You can add !important to any Tailwind CSS declaration by putting a "!" at the beginning of the class name:

<p class="!my-0">Really, really no vertical margins</p>