Tailwind CSS Set Styles Of Headers (h1, h2), Link (a), HTML tags and Custom CSS class

Dec 28, 2022
@tailwind base;@tailwind components;@tailwind utilities;@layer base {  h1 {    @apply text-3xl;  }  h2 {    @apply text-2xl;  }  h3 {    @apply text-xl;  }  a {     @apply underline text-blue-600 hover:text-blue-800 visited:text-purple-600  }}@layer components {  a.no-link {    @apply text-inherit no-underline hover:underline;  }}


❤️ Is this article helpful?

Buy me a coffee ☕ or support my work via PayPal to keep this space 🖖 and ad-free.

Do send some 💖 to @d_luaz or share this article.

✨ By Desmond Lua

A dream boy who enjoys making apps, travelling and making youtube videos. Follow me on @d_luaz

👶 Apps I built

Travelopy - discover travel places in Malaysia, Singapore, Taiwan, Japan.