Opt-In Styleable Selects

By Chris Coyier on

We just looked at how “animate to auto” (e.g. transition from a fixed value to a keyword like auto, max-content, etc.) is “opt-in” in a sense. You have to use interpolate-size: allow-keywords; to make it work or use a function like calc-size(), neither of which you accidentally do. This is because research showed that it […]

Arrival of Animate to Auto

By Chris Coyier on

I’m on Chrome 129 and this animate to auto stuff is working for me with no special flags, so color me pleased. Would love to see this go into Interop 2025, as submissions are open. I’m using inline-size and max-content there, but it could be height and auto or block-size and min-content or whatever. There […]

Oracle, it’s time to free JavaScript.

By Chris Coyier on

An open letter with a bunch of big names attached to it asking Oracle to give up the copyright on “JavaScript”. It is therefore time to take active steps in order to bring the JavaScript trademark into the public domain, where it belongs. It’s kinda weird, and only for historical acquisition reasons that they have […]

The Modern CLI Renaissance

By Chris Coyier on

CLIs are so hot right now. Over the past few years, it seems like the rate at which new CLI tools are being written has picked back up again, accelerating after seeing relatively little activity between ~1995 and ~2015. Gabe Venberg Why? Gabe thinks it might be proliferation of tooling written in Go and Rust, […]

Display Contents

By Chris Coyier on

Ahmad Shadeed on CSS display: contents; — a feature that makes the DOM pretend that element just isn’t there (but it’s children are). Anything you use it for requires specific accessibility testing, but it can be quite useful. There are lots of use-cases here many of which boil down to “sometimes I want all these […]

“Why does this have to be a modal?”

By Chris Coyier on

It’s not that modals are all automatically bad, it’s that, as Adrian Egger says, “modals are the crutch of the inarticulate design and developer” and they “are easily replaced with other patterns that are less jarring.” on the dedicated site for this crusade: modalzmodalzmodalz.com. Adrian’s personal site is sweet, too.

Infinity in CSS

By Chris Coyier on

Will Boyd covers how there is an infinity value baked into CSS. Never lose a z-index battle again, heh. I enjoyed little tidbits like how you can’t animate to infinity because… … there are no incremental values on the way to infinity. A fraction of infinity is still infinity. So for every frame of the […]