
A Native Definition of Visibility
The days of hacking around offsetParent and opacity: 0 are over thanks to a new DOM method that actually understands what 'visible' means in a modern CSS world.
Articles, guides, and thoughts on web development and technology

The days of hacking around offsetParent and opacity: 0 are over thanks to a new DOM method that actually understands what 'visible' means in a modern CSS world.

Modern CSS finally knows how to stay quiet about form errors until the user actually finishes typing, making your validation logic significantly less aggressive.

We finally have a native way to animate elements as they are added to the DOM or transitioned from 'display: none' without reaching for JavaScript hacks.

The new CSS attr() specification is finally breaking free from the 'content' property, allowing you to pass colors, lengths, and numbers directly from HTML attributes into your styles.

Learn why the CustomStateSet API is the final piece of the encapsulation puzzle for developers tired of polluting their HTML with styling-only attributes.

Why simple timestamps are a recipe for data corruption in collaborative apps and how I traded them for the mathematical certainty of version vectors.

Stop fighting the visual viewport and learn how to use the `overlaysContent` property to design mobile forms that actually stay visible when the keyboard appears.

Stop shipping massive localization bundles and start using the built-in Intl.NumberFormat API to handle everything from currency conversion to compact scientific notation.

A deep dive into the 'desiredSize' signal and why simply wrapping a data source in a ReadableStream isn't enough to prevent OOM errors.

Eliminate the 'Initializing JS/TS Language Service' lag by optimizing your type definitions for the compiler's hot path.