3 ms·
Cons of using Tailwind: - In addition to knowing CSS you now also have to learn all the Tailwind class names that map to CSS styles. - Development starts fast
by tqkxzugoaupvwqr 5y ago
Cons of using Tailwind:
- In addition to knowing CSS you now also have to learn all the Tailwind class names that map to CSS styles.
- Development starts fast because you just drop Tailwind’s utility classes into HTML elements but then you end up with a long list of classes and things become unreadable, and worse, you have to repeat yourself if you want to apply the same style to other elements. Better group the list of Tailwind classes into a custom class. Wait, we have just re-invented CSS classes but need additional build tools.
- phreack 5y agoI think Tailwind really shines alongside a tool like React where you don't abstract out a class of Tailwind classes, but a whole component with minimal to no functionality. If you end up with too many of those then maybe it's a sign your design language is getting too complex?