DEV Community

Discussion on: Building a Tailwind CSS toggle/switch component

Collapse
 
jt3k profile image
Andrey Gurtovoy

my opinion: this is an article that could help popularize tailwind. because tailwind itself is rapidly losing its popularity. not surprising since this is a reinvention of atomic-css which has already proven everything.

Collapse
 
shaglock profile image
Ilya Shaplyko

Tailwind is losing popularity? Did I miss something? What's popular then?

Collapse
 
jt3k profile image
Andrey Gurtovoy

try to search on Google for the word CSS.here he is popular. for styling I prefer it. because I know him perfectly, unlike the authors tailwind or for example styled-components. you can say knowledge css this is my main job. and I strongly recommend that you do not waste time on tailwind, but take a closer look at something more useful, for example css-modules

Collapse
 
dgonzalezr profile image
Dabiel González Ramos • Edited

I would say it all depends on how used to we are. If you think about it, when you have a “normal” CSS methodology, what you would do to understand the styles applied? You look for the class name in the CSS rules declaration and then look at all the rules there, right? Well, the difference with TW is that you read the styles applied in the markup instead, since every single class has only one specific purpose, as each CSS rule would have on the other way around.

Collapse
 
jt3k profile image
Andrey Gurtovoy

you can get used to taking off your pants over your head, but why?