3 ms·
I think one key difference is the way people are developing re-usable components now. Since you only define it once, the benefit of re-usable class names isn't
by ehnto 6y ago
I think one key difference is the way people are developing re-usable components now. Since you only define it once, the benefit of re-usable class names isn't as important as co-locating and scoping your CSS for ease of use. You want as little cascading as possible in that circumstance so again, traditional benefits of classes aren't as compelling.
I use a flavour of BEM naming with an approach I call Contexts and Components to achieve concise, low inheritance CSS and I can see how Tailwind can get you similar benefits and solve for some stuff traditional CSS has a hard time solving within frontend frameworks.
I am still fighting picking it up, but that is the use case I see for it, component driven workflows.