DEV Community

Discussion on: SASS vs CSS-in-JS vs Tailwind CSS

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

Why not write atomic CSS yourself, using the idea from Tailwind?

Collapse
 
pavelloz profile image
Paweł Kowalski • Edited

Why would anybody reinvent the wheel when its already invented, made, documented and maintained?

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

Because I want to avoid PurgeCSS.

Thread Thread
 
pavelloz profile image
Paweł Kowalski

Ouh. Cool business goal.

Thread Thread
 
patarapolw profile image
Pacharapol Withayasakpunt

PurgeCSS clashes a lot with Stylesheet files I didn't make. It's yet another build tool with troubles. Without Purge, or go vanilla Link tag CDN, Tailwind is large and not practical.

It depends on the pioject size, but I don't always plan to start from scratch.