Home/Chris Coyier
Author

Chris Coyier

461 articles by Chris Coyier.

Frontend — Manuel Matuzovic's CSS Specificity Demo

Manuel Matuzovic's CSS Specificity Demo

If you're looking for a primer on CSS specificity, we've got that. And if you're trying to get ahead of the game, you should be aware of CSS Cascade Layers as

CCChris Coyier·February 25, 2022Frontend
Design & UX — Add-to-Calendar Button UI Widget

Add-to-Calendar Button UI Widget

A useful little UI widget. Click the add-to-calendar button, get a list of calendar apps, the user selects which one, and they get a download.

CCChris Coyier·February 16, 2022Design & UX
Engineering — Why are hyperlinks blue?

Why are hyperlinks blue?

The decision to make hyperlinks blue in Mosaic, and the reason why we see it happening in Cello at the same time, is that by 1993, blue was becoming the

CCChris Coyier·February 14, 2022Engineering
Frontend — Using the CSS Me Not Bookmarklet

Using the CSS Me Not Bookmarklet

The CSS Me Not bookmarklet lets you see all of the CSS files on a site, notably unused files you might want to prevent from loading.

CCChris Coyier·January 14, 2022Frontend
Frontend — Mondrian Art in CSS From 5 Coders

Mondrian Art in CSS From 5 Coders

I saw some Mondrian Art in CSS going around the other day and figured I'd go looking for others I've seen over the years and round them up.

CCChris Coyier·January 14, 2022Frontend
Engineering — Open Source & Sustainability

Open Source & Sustainability

I don't feel confident operating or maintaining open source. That makes me scared of it, and my fear makes me avoid doing it at all.

CCChris Coyier·January 12, 2022Engineering
Frontend — CSS-Based Fingerprinting

CSS-Based Fingerprinting

Fingerprinting is bad. It's a term that refers to building up enough metadata about a user that you can essentially figure out who they are. JavaScript has

CCChris Coyier·January 3, 2022Frontend
Engineering — Thank You (2021 Edition)

Thank You (2021 Edition)

The year has come to a close and it's time again for our end-of-year wrapup. The most important message is this: thank you. (thankyouthankyou)

CCChris Coyier·January 1, 2022Engineering
Frontend — Topological sort

Topological sort

Jordan Scales explores the computer science concept of topological sorting, and what it might look like if applied to the concept of z-index in CSS. So, you

CCChris Coyier·December 16, 2021Frontend
Frontend — HTML Sanitizer API

HTML Sanitizer API

Three cheers for (draft stage) progress on a Sanitizer API! It's gospel that you can't trust user input. And indeed, any app I've ever worked on has dealt

CCChris Coyier·December 16, 2021Frontend
Frontend — CSS-Tricks Chronicle XLI

CSS-Tricks Chronicle XLI

Ya know, I used to do one of these posts after making a few podcast appearances I hadn't had a chance to link up yet, so I could share them. As fate would

CCChris Coyier·December 13, 2021Frontend
AI & ML — File Scaffolding With Hygen

File Scaffolding With Hygen

I read a recent Smashing Magazine post that included a recommendation for Hygen. I just happen to be doing quite a bit of new UI work in a Next.js app and the

CCChris Coyier·December 13, 2021AI & ML
Engineering — Shadow Palette Generator

Shadow Palette Generator

Josh's Shadow Palette Generator is a fantastic tool. The premise is that box-shadow pretty much always looks better when there are multiple layered shadows

CCChris Coyier·December 13, 2021Engineering
Frontend — Spicy Sections

Spicy Sections

What if HTML had "tabs"? That would be cool, says I. Dave has been spending some of his time and energy, along with a group of "Tabvengers" from OpenUI, on

CCChris Coyier·December 7, 2021Frontend
Frontend — Diagonal Stripes Wipe Animation

Diagonal Stripes Wipe Animation

I was playing this game on Apple Arcade the other day called wurdweb. It's a fun little game! Little touches like the little shape dudes that walk around the

CCChris Coyier·November 30, 2021Frontend
Design & UX — Coding Font Game

Coding Font Game

A tournament bracket UI where you pick your favorite between two coding fonts and your choices are whittled down all the way to a final winner. A clever way

CCChris Coyier·November 19, 2021Design & UX
Frontend — The Gap (Design Engineering)

The Gap (Design Engineering)

Egor Kloos describes a situation where a (purely visual) designer asks for some changes to a component. There is a misunderstanding where the (code monkey)

CCChris Coyier·November 17, 2021Frontend
Engineering — Jamstack TV

Jamstack TV

That's the name of Netlify's YouTube Channel. Love that. I linked up Rich's talk the other day, which was a part of this past JamstackConf, but now all the

CCChris Coyier·November 16, 2021Engineering
Frontend — Semantic menu context

Semantic menu context

Scott digs into the history of the <menu> element. He traced it as far back as HTML 2 (!) in a 1994 changelog. The vibe then, it seems, was to mark up a

CCChris Coyier·November 11, 2021Frontend
Security — Don't Snore on CORS

Don't Snore on CORS

Whatever, I just needed a title. Everyone's favorite web security feature has crossed my desk a bunch of times lately and I always feel like that is a sign I

CCChris Coyier·November 10, 2021Security
Design & UX — Fixing the Drift in Shape Rotations

Fixing the Drift in Shape Rotations

Steve Ruiz calls this post an "extra-obscure edition of design tool micro-UX," but I find it fascinating! If you select a bunch of elements in a design tool,

CCChris Coyier·November 4, 2021Design & UX
Frontend — Responsible JavaScript

Responsible JavaScript

High five to Jeremy on the big release of Responsible JavaScript on A Book Apart. There is a lot of talk about how the proliferation of JavaScript has had a

CCChris Coyier·November 2, 2021Frontend