Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I build apps with lots of components and I still like CSS with classes, specificity, and the cascade :)


What css frameworks (a la bootstrap) are good to go with for that approach? any css framework that doesn't have JS?


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


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?


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.


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.


Take a look at Bulma, it's quite simple.


I enjoyed using Primer CSS (Github) recently. Another interesting one is Spectre.css




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: