|
|
|
|
|
by fragile_frogs
1925 days ago
|
|
> Just write your CSS selector to target whatever you'd like, then use `@apply tailwind-classes md:other-tailwind-classes` inside the brackets. I never understood this argument, at this point you are just writing CSS with extra steps and unnecessary abstractions. |
|
With Tailwind: defer decisions about assigning classes until you've built enough to see what the proper abstractions are, then just refactor out the repeated utility classes. There's even plugins that will consistently sort your Tailwind classes so that refactoring can be automated by simple search and replace.