Best practice to style standard HTML elements with TailwindCSS?

I am exploring Tailwind atm while learning Astro. TailwindCSS is removing all spacings, sizings and formatting of HTML elements by default, so you can use your own system. What is the best practice to style repeating elements like <p> or <h1> elements when using Tailwind? should I use @apply in my stylesheet? p { @apply p-2; } just use standard css? p { padding: 1rem; } or is there a better way to handle this? Thanks!
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server