A Deep Dive into StyleX

By Chris Coyier on

StyleX has been around for a while, but it’s seeing a resurgence in popularity lately for whatever reason. Seems pretty good to me. You don’t have to write atomic CSS, but you get atomic CSS output that loads like any other CSS. Kinda like you don’t have to write like Tailwind to get Tailwind-like efficient […]

Two vs. Three-State Color Theme Toggles

By Chris Coyier on

There was a fun and intellectual debate recently about UI controls for dark/light mode. I think the story starts with Modern Web Guidance skills from Google, which recommend using a two-state toggle, apparently written by Lea Verou, and Bramus Van Damme takes issue with it. Lea explained her thinking in detail, which is a great […]

CSS Infinity Use Cases

By Chris Coyier on

It’s kinda cool there is Infinity in CSS. You just always need to use it within a calc(), like border-radius: calc(infinity * 1px);. Adam has lots of ideas in that post, and I remember Will was messing with similar ideas a few years ago. I’d say just use it when you’re trying to use an […]

$966,000

Master.dev donates to open source projects through thanks.dev and Open Collective, as well as donates to non-profits like The Last Mile, Annie Canons, and Vets Who Code.