DEV Community

Discussion on: How to make a good looking button with Tailwind CSS

Collapse
 
afif profile image
Temani Afif

I think that a button with 10 classes is a bit .. too much.

Collapse
 
sidcraftscode profile image
sid

Thank you for this comment, really helpful.
We can use the @apply directive in Tailwind CSS to bring this down to one class.