3 ms·
So the benefit of tailwind is not having to write "background-color". Got it. I don't know if its worth learning yet another framework for that.
by bcrosby95 5y ago
So the benefit of tailwind is not having to write "background-color". Got it. I don't know if its worth learning yet another framework for that.
- jeremydw 5y agoSomeone should make a compiler that converts inline styles to Tailwind so then you don't have to learn Tailwind but can still use Tailwind. For example it can convert `<div style="background-color: white">` to `<div class="bg-white">`. Perfect! (Yes, "bg-white" is the Tailwind way to make the background color white.)
- toomanydoubts 5y agoYet again, inline css has no support for media-queries, pseudo elements, states(hover, visited, active). Tailwind does. Tailwind also works as a design system, limiting you to a predefined font-sizes, spacing, etc. generating a consistent look-and-feel that requires discipline to do with inline styles.