9 / 16

By Chris Coyier on

The other day I needed to quickly see pixel dimensions that were exactly in a 9 / 16 aspect ratio. Like: 180 / 320. That’s perfectly in that ratio. You might be able to think of that one in your head, but how about 351 / 624? That’s harder to think of. And I wanted […]

CSS min() All The Things

By Chris Coyier on

Victor Ayomipo saw our post about using container units for everything. He was more optimistic than I that our result was good. My thinking is that there are plenty of things you straight up don’t want to use container units for. Victor did a similar exercise with (over?)-using min() and viewport units. Turns out there […]

Styleable Selects Inch Forward

By Chris Coyier on

The ability to style a <select> menu has long been high on list of web designer’s want lists. The inside part anyway; the part that opens up when you activate it. The outside we’ve been able to style for a while. Open UI did a bunch of research and even had a browser implementation of […]

New in ECMAScript 2024

By Chris Coyier on

Paweł Grzybek has a succinct overview of the new things in JavaScript this year, including credit to the people involved. I find it interesting to consider features in the recent light of the JS0/JSSugar proposal/drama. Looking at these features, which ones would be “real language” features (JS0) and which could be processed away (JSSugar)? I […]

TODS

By Chris Coyier on

TODS: “an open source typography and opentype default stylesheet” from Richard Rutter. I like the idea of slightly-opinionated stylesheets that do a bunch of things you might forget to do, or just as likely, don’t know you can do to begin with. There are loads of goodies in here including a slew of utility classes for […]

Safari ±

By Chris Coyier on

There are folks that think Safari is the worst current browser. Safari is the new IE, they say. You wouldn’t have to convince Alex Russell who regularly points to the fact that there isn’t browser choice on iOS, which is direct fuel for the app store, so keeping the web down is a business strategy. […]