DEV Community

Discussion on: CSS utility classes: Your library of extendable styles

Collapse
 
pavelloz profile image
Paweł Kowalski

What an excellent, exhaustive summary of utility-first css approach.

Im using Tailwind for the past couple of months (despite my aversion towards a lot of css classes couple years ago) and it has been great.

I got rid off sass in my stack.
Production CSS is order of magnitude smaller.
Multiple people can work on the same project - there is no global styles, so nothing is conflicting.
It encourages to create "style guide" or "demo for components" - basically page where you present how something should look.

There is a lot of good in that approach and i feel more confident developing CSS this way, especially when there is a team that does css in a project.