PSA: keep CSS :has() rules tight — agents' broad selectors trigger huge style recalcs
jh3yy · x · 2026-11-07
A dev PSA: avoid wildcards and broad targets with CSS :has(). Coding agents love slapping :has() on landmarks, but broad rules can trigger huge style recalculations from seemingly unrelated CSS. Keep selectors tight when letting agents generate styles.
More from coding & agent
- HackerRank CEO stress-tests his own AI interviewer to show how easily it can be cheated — emeka_boris · 2026-11-07
- Nous launches Portal: one account for 200+ models, bundled tools, and agent cloud hosting — NousResearch · 2026-11-07
- Codex to perform live semi-autonomous DJ set via MCP in world premiere — Yamapama · 2026-11-07
- Playing Factorio Made Me Better at Managing AI Agents — billyjhowell · 2026-11-07
- LangChain's deepagents Adds Browser Use and Async Subagents — LangChain · 2026-11-07
- DepthFirst shares its secure cloud dev environment for coding agents, built in one week — andreamichi · 2026-11-07