DEV Community

Discussion on: Why you should Stop using CSS Frameworks

Collapse
 
leob profile image
leob • Edited

But, isn't there a large amount of mundane "basics" (e.g. CSS resets, just to name one) which you then have to take care of every time? I don't necessarily have to have a complete framework, but unless I can start with some of those basics having taken care of for me (CSS reset, grid system, typography) I'd be afraid that this would slow me down (well at least the first time, when I have to sort it all out).

Apart from that, the arguments against CSS frameworks are much less valid against utility style frameworks like Tailwind. And no, even when using Bootstrap I'm in no way afraid of forgetting CSS :-)

Last but not least, I agree that this line of reasoning (don't use JS frameworks but use Vanilla JS, don't use CSS frameworks, etc) does become more compelling and realistic as browsers become more capable and the minimum browser support that you can build on is getting way better. Back in the days of IE8 I think people were relieved that frameworks took care of all of IE's quirks and bugs.

Collapse
 
urielbitton profile image
Uriel Bitton

I definitely agree with you man, which is why i encourage to build your own frameworks or at least build your own reset styles framework. I use my own reset styes and a light framework that i designed from scratch for all my web projects. Trust me its so much more rewarding then using css frameworks. Now don't get me wrng if you're building a large business project website or app that requires a huge amount of styling then sure a framework may be a good decision. But my article refers mainly to people who use it for normal websites, and small passion projects. That's what i don't vouch for. Again this is just my opinion, i respect everyone's opinion in the matter!
Thanks for sharing :)

Collapse
 
leob profile image
leob

Totally agree, when I have got some time on my hands (generally I don't, haha) then I definitely would like to do that - build a small "foundation" (excuse the pun, haha) because I'm convinced you can learn a LOT from that!