Post

People keep saying that frameworks like #tailwind or even #stylex are good for agents, but are they working in our current reality where even frontier LLMs still suck at frontend and #CSS?

0 reposts0 likes

I'm not even saying that you should look at the code, but often it helps a lot if you're able to inspect element into something that's wrong and be able to tell an agent what to do with actionable words. Like, this class, label or id, lose the padding, don't use absolute units, etc.

Meanwhile, if your #HTML is just mumbo-jumbo, you're forced to address everything visually by scribbling on screenshots, hoping that the agent gets what you mean and ignoring bad structural choices that contribute to lingering issues.

If you’re wondering about the CSS the agents write or the design choices they make, the CSS framework you choose won’t matter. Tailwind & StyleX generate atomic CSS which results in reasonable CSS sizes even when the agent writes insane code. StyleX is for constraints like types