How and When To Use @apply in Tailwind
If you've used CSS for long, you're likely used to creating CSS components for reusable styles. A big drawback of Tailwind appears to be code duplication — imagine having to add in all the classes for a button hundreds of times in an application: bac...
Aug 22, 20227 min read2.3K
