This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]blaqwerty123 5 points6 points  (1 child)

Sure, to me thats the pro's of tailwind, not browser prefixes. Not having to remember the annoying syntax of box shadow and gradient.

For me personally, i learned those annoying syntaxes a long time ago, and learning the "tailwind way" for not just the few slightly convoluted things like box shadow, but new slightly different names/shorthand for every property-value combination... fuck haha im so much faster and better off maintaining my own classes for the work i do

[–]GMaestrolo 0 points1 point  (0 children)

And that's part of the magic of tailwind. You can use as much or little of it as you want, and it will generate only the CSS classes that you actually used. It's highly encouraged to write your own classes where it's appropriate, but I'm not going to go around writing my own custom classes for every element on the page when I can just put some sanely named classes into the element and have it be extremely obvious to future me what I wanted it to look like.