DEV Community

Discussion on: Tailwind. My experience using it for a month now.

Collapse
 
hnicolas profile image
Nicolas Hervé

The third point is not a problem with purgecss that strip unused CSS.

Collapse
 
dillonheadley profile image
Dillon Headley • Edited

But there is the problem of adding more tools to your tools. More setup, more reading docs, more breaking points with version changes etc

Thread Thread
 
hnicolas profile image
Nicolas Hervé

Si I suppose that you don't use autoprefixer for the same reason. Sure vanilla CSS is great but have a good time remembering all vendor specific prefixes. This will also reduce your CSS readability a lot...

Thread Thread
 
dillonheadley profile image
Dillon Headley

It depends on the target browsers and project size, so no not always. For modern browsers it does little and vendor prefixes are being phased out of modern specs like grid. I’m not against tools. But there is a cost to each tool you add to a project. Adding blindly will bite you later

Collapse
 
moopet profile image
Ben Sinclair

I've never understood how these tools are supposed to work. Even if you brute-force it by scraping the entire site you're going to miss a lot of dynamic classes added by ajax or rich text editors and such.