Tailwind CSS how to style a href links in React?

Tailwind’s Preflight functionality will remove all of the browsers’ default stylings for most elements, giving you a clean basis to start from, to make cross-browser styling more consistent.

You need to re-add the styles you wish, for example:

className="underline text-blue-600 hover:text-blue-800 visited:text-purple-600"

or:

a {
   @apply underline text-blue-600 hover:text-blue-800 visited:text-purple-600
}

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)