The Shifting Line Between CSS States and JavaScript Events
The article explores the growing overlap between CSS and JavaScript in managing UI states and events. As CSS features like `:has()`, `@starting-style`, and scroll-driven animations become more powerful, developers can handle complex interactions previously reserved for JavaScript. The piece suggests rethinking the boundary between styling and scripting for simpler, more performant code.
Background
- This article explores a growing tension in front-end web development: as CSS gains powerful new features (like `:has()`, popovers, and `@starting-style`), it now handles tasks that previously required JavaScript — such as detecting user interactions, toggling visibility, and animating on mount/dismount.
- The line between "CSS states" (e.g., `:hover`, `:checked`, `:open`) and "JavaScript events" (e.g., `click`, `mouseenter`, `DOMContentLoaded`) is blurring. This creates ambiguity for developers about which tool to use, and whether the browser's internal event models should be exposed to CSS.
- The author explores whether CSS features like `:open` and `@starting-style` represent states or events, and argues that the blurriness is productive but needs clearer mental models. The piece is relevant to anyone building modern web interfaces with CSS and JavaScript.
Max Weinbach says he had early access to OpenAI's new model GPT-5.6 Sol, calling it his favorite model by far. He highlights that it never gives up and will keep reasoning until it's done. OpenAI announced that GPT-5.6 Sol, along with Terra and Luna, will launch publicly on Thursday, with preview access expanding globally now.
The US government ordered Anthropic to suspend access to its Fable 5 and Mythos 5 models for all customers, citing a potential jailbreak technique that involved asking the model to review a codebase for vulnerabilities—a capability Anthropic says is available in other public models. Access was abruptly cut off on June 12.
Andrej Karpathy announces the release of Claude Fable 5, the same underlying model as Mythos but with added safeguards. He calls it a major step forward, particularly for long problem-solving sessions on difficult tasks, and describes it as state-of-the-art on nearly all benchmarks with exceptional performance in software engineering, research, and vision.
Roman Storm warns that the legal theory in his case could set a precedent making open-source developers liable for how others use their code, potentially criminalizing the mere publication of privacy, messaging, or crypto tools. He notes that developer Michael Lewellen cannot publish lawful code due to prosecution fears, and argues this chilling effect extends beyond any single case.
Meta's engineering culture is deteriorating under Mark Zuckerberg and Scale AI CEO Alexandr Wang, who have introduced keyboard tracking, reassignments to data labeling, and AI-centric performance metrics. Critics argue this incentivizes performative AI use, drives away experienced engineers, and contributed to a major Instagram hijacking incident caused by AI-written and AI-reviewed code.