Comment

Comment by JasonCannon

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

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.

parent JasonCannon 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton