News for hackers. Stuff that matters.
Re:Why I don't like Tailwind CSS by brundolf on Thursday March 11, 2021 @06:57PM (#26430593)
I don't really use CSS frameworks personally, I find they tend to complicate things. Though I realize this philosophy may not work for everyone's use-case
Re:Why I don't like Tailwind CSS by ithrow on Thursday March 11, 2021 @07:16PM (#26430739)
Fair, is just that when I see all the css you have to write just to make a button pretty I shudder ;) It's fine I guess if your task is to only write css.

So by components you meant react components not css components?

Re:Why I don't like Tailwind CSS by brundolf on Thursday March 11, 2021 @07:23PM (#26430798)
Yeah, React and other similar component-based frameworks

The thing about writing the CSS to make a button pretty is that you only have to write it once (it's also usually no more than 10 lines), and then you can reuse it as much as you want. So forgoing a framework has some up-front cost, but in the long run it amortizes out and makes things easier to maintain imo.

Now, if I were churning out a new website every week or every month I would not be starting the CSS from scratch each time. I would probably carry around some starter CSS from project to project myself, though this would also be a good case for a framework.

Re:Why I don't like Tailwind CSS by Yaggo on Friday March 12, 2021 @01:56AM (#26432896)
Same here. In personal projects I just "handwrite" css (with stylus). It's simple & modular enough alone. At work we usually use a "framework" (sort of) to make teamwork smoother.
Re:Why I don't like Tailwind CSS by jasfi on Thursday March 11, 2021 @11:26PM (#26432204)
Take a look at Bulma, it's quite simple.