DEV Community

loading...

Discussion on: Why you should Stop using CSS Frameworks

Collapse
gsarig profile image
Giorgos Sarigiannidis

While personally I clearly prefer writing my own CSS (here is my reasoning), I agree with those who say that it depends on the specific use-case.

As others pointed out, if you are a developer with no design skills and no specific design at hand, then using a framework like material UI or Bootstrap is not only helpful, but I would dare say, essential.

If for whatever reason you want to write the less CSS possible, either because you hate it and/or because you are not good at it, then a utility framework like Tailwind might be your thing.

If you work on a big project along with other people, again, a framework might be helpful to keep the code consistent.

If, on the other hand, you have to convert a design from a PSD, XD or whatever to HTML, then, depending on the design's complexity, a framework might even turn out to be an obstacle rather than a help.

Also, I am a fan of avoiding frameworks when I have to build a plugin or a theme meant to be used by anyone and not for a specific client. On those cases, I believe that the less dependencies, the better (that applies to the use of vanilla JS instead of jQuery as well).