I used to be a naysayer of tailwind. However after getting practically forced into it I'm now drinking the koolaid. Yes things like having to duplicate styles using multi cursor is kind of silly, however for the vast majority of the time, having the styles written clearly each time, for me, makes it worth it.
There is also nothing stopping you mixing and matching.
My point is that there is no one CSS library to rule them all and likely never will be. The closest to that is going back to pure raw CSS which I highly doubt people will do.
And yes while it's obviously not ideal to have a hundred competing libraries in your code, you can create what works for you / your team.
Very very few people, in practice, write vanilla CSS. They use libraries and frameworks often, like Bootstrap. Sure, that might be "vanilla CSS", but you didn't write it, presumably because you didn't want to.
Look, after a certain point we have to call a spade a spade and acknowledge that CSS is just too cumbersome, too awkward, and too complicated for most developers and companies. How much CSS do you see that seems to be read-only? People just... tack on to the end of the style sheet, right?
The promise of re-usability is great, but is it actually happening? IME, no.
This is an extremely limiting view. They are both CSS at the end of the day. If extracting the complicated inline TailwindCSS class to its own vanilla CSS class makes sense for readability then what's the harm? You could also just define your own variables. Tailwind gives you full control to do this.
There is a very good set of podcasts[0] by Cautionary Tales about the German V2 rockets in WW2 which tried to use this. It was so hard the Allies allowed them to continue wasting money on it during the war. Well worth a listen to if you're into that.
That is incredible to read. It's one of the things which makes you stop thinking about all the awful things in the world and realise just how incredible modern science and medicine is.
[0] https://apps.apple.com/us/app/passbook-wallet-pass-creator/i...
reply