5 ms·
Not at all. You design and iterate on the button using the individual classes, then you swap them out for a concise class once you are done. It's how tailwind i
by JasonCannon 5y ago
Not at all. You design and iterate on the button using the individual classes, then you swap them out for a concise class once you are done. It's how tailwind is designed to be used.
https://tailwindcss.com/docs/reusing-styles https://tailwindcss.com/docs/reusing-styles
Although I realize in looking this up in the documentation to show you, it's actually @apply and not @extend you are supposed to use.
- Toine 5y agoUsing @apply is the ultimate last resort though.