News for hackers. Stuff that matters.
Re:Why Tailwind CSS Won by progx on Wednesday August 16, 2023 @07:27AM (#37145447)
That is the point: which kind of projects?

You all fight, but nobody says what exactly they develop. A webpage and Tailwind is absolutely fun. An app with reusable complex components, Tailwind is a pain. Themes, dynamic tailwind is a pain, static, tailwind is ok.

There are endless possibilities. The problem is, that some people think you can use Tailwind for everything and then they made simple things unnecessary complicated.

Re:Why Tailwind CSS Won by whstl on Wednesday August 16, 2023 @08:15AM (#37145861)
I disagree 100% with that. I much prefer using Tailwind for complex apps with reusable components. Because then you don't have a lot of repetition, redundancy is as much as BEM.

For static webpages (unless it is assembled by a static blog engine or something), I don't particularly enjoy it, because of the repetition.

With components+Tailwind you have as much duplication as you'd have with pure BEM.

All personal experience and opinion, of course.

Re:Why Tailwind CSS Won by afiori on Wednesday August 16, 2023 @09:24AM (#37146698)
I like tailwind but I only ever used it in a JSX context, if I had to author plain html I would likely never choose it.
Re:Why Tailwind CSS Won by openplatypus on Wednesday August 16, 2023 @08:32AM (#37146083)
Not my experience. We built a full rather complex and feature full application using Tailwind. How? Reusable components (we use Vue, but that’s just one option).

I remember this being endorsed approached by Tailwind creator.

No complaints.