3 ms·
Sadly. Tailwind is so oof in my opinion. Lets import megabytes just so we don't have to write 5 whole CSS classes. I mean just copy paste the code. Don't get m
by byearthithatius 1y ago
Sadly. Tailwind is so oof in my opinion. Lets import megabytes just so we don't have to write 5 whole CSS classes. I mean just copy paste the code.
Don't get me stared on how ugly the HTML becomes when most tags have 20 f*cking classes which could have been two.
- martinsnow 1y agoYou're doing it wrong. Tailwind is endlessly customizable and after compilation is only kilobytes. But yes lets complain because we don't understand the tooling....
- johnfn 1y agoIn most reasonably-sized websites, Tailwind will decrease overall bundle size when compared to other ways of writing CSS. Which is less code, 100 instances of "margin-left: 8px" or 100 instances of "ml-2" (and a single definition for ml-2)? Tailwind will dead-code eliminate all rules you're not using. In typical production environments tailwind is only around 10kb[1]. [1]: https://v3.tailwindcss.com/docs/optimizing-for-production https://v3.tailwindcss.com/docs/optimizing-for-production
- andybak 1y agoSo. We've moved rom "human compiler" to "human compression encoder"?