upvote
I feel it's better for LLMs. For each class name, the LLM doesn't have to go out and consume CSS files and read all the cascading rules and determine what other classes elsewhere might have an effect. It has everything it needs to determine the styling and layout right in its immediate context
reply
I don't really get this argument. 90% of Tailwind is shorthand for existing CSS properties. There's really not much to learn if you already know CSS.
reply
Except for all those specific shorthands?

I used it for months at s previous job and spent a lot of time googling “how do I write X CSS property in Tailwind”

reply
I’m not sure what to tell you. With only a few exceptions, the shorthand follows a very predictable pattern if you already know the property names. IDE completions help too.
reply