Design Engineers

By Chris Coyier on

The job title “Design Engineer” has been having a moment. I commented on Jim Nielsen’s takes recently. To me it makes a logical sense. The engineer aspect means they know the tech (HTML, CSS, JavaScript), and the design aspect means they are building and refining the look and experience. You don’t have to be both. […]

What is safe alignment in CSS?

By Chris Coyier on

Stefan Judis covered this recently, and like Stefan, I first heard of the safe keyword in CSS from Rachel Andrews at an AEA conference years ago. It’s used in addition to other alignment keywords in layout like this for example: The extra value safe here is essentially saying “don’t let the alignment force a situation […]

DOM to PNG Directly in the Browser

By Chris Coyier on

You could design something on the web then take a screenshot of it. That is, in a basic sense, converting DOM to PNG. But a screenshot is rather manual and finicky. If you had to do this over and over, or you needed a very exact size (like a social media card), you can actually […]

Eloquent JavaScript (4th edition)

By Chris Coyier on

An awful lot of JavaScript developers I know speak of Eloquent JavaScript as a very formative book for them in their path toward becoming the developer they are today. It’s certainly on my bookshelf. Eloquent JavaScript is now in it’s 4th edition, and available free online. Pretty sweet complementary learning resource right there, goes nicely […]

Modern Font Stacks

By Chris Coyier on

Just a little appreciation for Dan Klammer’s Modern Font Stacks project. Not loading any custom fonts doesn’t need to mean being relegated to the Helvetica/Arial hole, system fonts (even though I do kinda love San Francisco), or some bummer typeface you feel pushed into. I particularly like the Geometric Humanist stack:

Streaming HTML

By Chris Coyier on

I admit I went pretty far in my web development career without understanding that Streamed HTML is a thing. And while I’m admitting things, I’m still not 100% sure when it’s an ideal solution and how best to take advantage of it. But knowing is half the battle sometimes, so let me get into some […]

The DevRel went down to Georgia…

By Chris Coyier on

Happy Friday! The DevRel went down to Georgia, they had some code to shillThey were in a bind, cause they were way behind, and the VP wasn’t thrilledWhen they came upon this young dev pushing to main and cursing a lotThe DevRel sat right down and said, “Hey let me tell you what, The DevRel […]

CSS :has() Interactive Guide

By Chris Coyier on

You know I’m a little obsessed with :has() in CSS and how useful it is. So I’m chuffed that Ahmad Shadeed made a killer interactive guide with loads of great examples. The basics are so satisfying like “Does this <figure> have a <figcaption>? Yes? OK then style it differently.” And that can be leveled up […]

The Fifty-Fifty Split and Overflow

By Chris Coyier on

A left-and-right layout is blissfully easy with CSS grid. Something like grid-auto-rows: 1fr; will do it — just put two elements as the children. This is how I like to roll though, making two equal columns that can shrink properly: But Ryan Mulligan found a very interesting way to make it complicated in The Fifty-Fifty […]