DEV Community

Discussion on: Why make a Bootstrapy Website if there's TailwindCss!

Collapse
 
standelethan profile image
Ethan Standel

I'm on my first project with Tailwind and am pretty disappointed.

Honestly, I don't think anything it does around sizes of things makes much of any consistent sense. 1, 2, 3, 4; but of what? I'd rather just use units, and now we're back to CSS.

The main issue is the lack of variability. We're using twin-macro + emotion with it, so all styles are in interpolated strings, but be careful not to actually use values in those strings because the styles get tree-shaken out of prod builds. But you know what languages features come built right into the browser, and you don't have to worry about what they do to your bundle? All possible CSS properties and values.

Imo Tailwind is saving lines of code but it's not really saving developers time or complexity, only adding to those elements of development.