DEV Community

Discussion on: What is the ONE language/framework you refuse to use? But...WHY???

Collapse
 
grahamthedev profile image
GrahamTheDev • Edited

Well I’m going to start a war here but….tailwind!

It goes against the whole point of CSS…utilising the Cascade (the “C” part).

It adds loads of replication in your HTML, it requires you to rely on it actually working (lately there have been problems with the JIT compiler causing required styles to be missed) and by the time you learn all the classes you are 70% of the way to learning CSS anyway!

Don’t get me wrong for prototyping it is useful, but in production, if I have a choice, I wouldn’t touch it!

Collapse
 
tmchuynh profile image
Tina Huynh

What do prefer using? Bootstrap? Materialize?

Collapse
 
tzwel profile image
tzwel

He prefers vanilla css from my understanding

Thread Thread
 
grahamthedev profile image
GrahamTheDev

Yeah exactly, sorry it is bank holiday here in the UK so not been on properly to answer.

I use vanilla CSS and a “micro libraries” approach. So if there is a complex component that I don’t want to have to build I will use an off the shelf solution and then adjust the styles to suit the site.

At this stage though I have my own library of patterns that work and are set up to use CSS vars for styling so it becomes more of a copy paste and change 3/4 vars job for 95% of things. 👍

Collapse
 
eerk profile image
eerk

I completely agree! It's so strange to put all the style, design and layout choices back in the HTML document! It's also super unreadable and hard to refactor.

I think tailwind became so popular because it gives developers who do not design/write CSS a quick solution to put some layout into the document without touching a CSS file.