loading...

re: Is the Tailwind approach a big step forward for CSS or just-yet-another-thing? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: When you write a custom class, do you use a single custom class and use @apply to apply all the tailwind styles? Or do you only write the custom st...

If I'm building a "component" class that uses a bunch of utilities, then yes, I use the @apply directive that tailwind provides.

However, for custom stuff like linear-gradients and clip paths, I write regular old css inside these classes.

code of conduct - report abuse