3 ms·
Because, if we're talking about css-in-js, then they'd need an external dependency anyway to handle hover/etc.. states. TailwindCSS lets you inline that.
by 0xCAP 4y ago
Because, if we're talking about css-in-js, then they'd need an external dependency anyway to handle hover/etc.. states. TailwindCSS lets you inline that.
- beardedman 4y agoYou also don't need CSS-in-JS.
- methyl 4y agoSo you need either to keep styles inline, which has a lot of drawbacks, or figure out a name for every single thing. Tailwind is essentially inline styling done right + a set of constraints to keep your design consistent even if you are not a designer. Pretty sweet setup if you ask me.