Back to Windicss

Important Prefix

features/important-prefix.md

latest320 B
Original Source

Important Prefix

You can prefix any utility classes with ! to set them as !important. This could be very useful when you want to override previous styling rules for a specific property.

css
!text-green-300
<InlinePlayground :input="'text-blue-200\n!text-green-300'" :showCSS="true" :showPreview="false"/>