Comment Comment by adyus Tailwind can do what you're describing via the @apply function.Just write your CSS selector to target whatever you'd like, then use `@apply tailwind-classes md:other-tailwind-classes` inside the brackets.This way, it's just a set of shorthand tags that replace the long-form CSS props, but it's still useful for quick design work. parent adyus 5 years ago
Just write your CSS selector to target whatever you'd like, then use `@apply tailwind-classes md:other-tailwind-classes` inside the brackets.
This way, it's just a set of shorthand tags that replace the long-form CSS props, but it's still useful for quick design work.