Home/Chris Coyier
Author

Chris Coyier

902 articles by Chris Coyier.

Engineering — The 3 Laws of Serverless

The 3 Laws of Serverless

Burke Holland thinks that to "build applications without thinking about servers" is a pretty good way to describe serverless, but...

CCChris Coyier·March 6, 2020Engineering
Engineering — The Slideout Footer

The Slideout Footer

A fascinating new site called The Markup just launched. Tagline: Big Tech Is Watching You. We’re Watching Big Tech. Great work from Upstatement. The

CCChris Coyier·March 5, 2020Engineering
Frontend — What React Does (and Doesn't Do)

What React Does (and Doesn't Do)

With a name as big as React, it's bound to cause some Stream-Crossing Confusion, as I like to call it. How do you center a <div> in React? Dave Ceddia:

CCChris Coyier·March 4, 2020Frontend
Frontend — Vue.js: The Documentary

Vue.js: The Documentary

Hey how cool! A documentary about Vue! Good timing as it looks like VueConf is happening right now. (Reminder we have a site for conferences to tell you stuff

CCChris Coyier·March 3, 2020Frontend
Engineering — Just Dropping Some Type Links

Just Dropping Some Type Links

I've had a bunch of tabs open that just so happen to all be related to typography, so I figured I'd give myself the mental release of closing them by blogging

CCChris Coyier·March 3, 2020Engineering
Frontend — Considerations for Creating a Card Component

Considerations for Creating a Card Component

Even a simple Card component can be tricky to design an API around. What abstraction are you providing? How much control do you want to give? If you make it too flexible, you aren't providing much value. If you make it to rigid, you also aren't providing much value.

CCChris Coyier·March 2, 2020Frontend
Engineering — A Follow-Up to PHP Templating

A Follow-Up to PHP Templating

Not long ago, I posted about PHP templating in just PHP (which is basically HEREDOC syntax). I'm literally using that technique for some super basic

CCChris Coyier·February 28, 2020Engineering
Engineering — Chameleonic Header

Chameleonic Header

Nice demo from Sebastiano Guerriero. When a fixed-position header moves from overlapping differently-colored backgrounds, the colors flop out to be

CCChris Coyier·February 26, 2020Engineering
Frontend — Pages for Likes

Pages for Likes

I posted about parsing an RSS feed in JavaScript the other day. I also posted about my RSS setup talking about how Feedbin is at the heart of it.

CCChris Coyier·February 24, 2020Frontend
Engineering — Gutenberging

Gutenberging

It's been over a year since the big WordPress launch of Gutenberg, the new editor. It seems to me most of the controversy around it has died down. There has

CCChris Coyier·February 24, 2020Engineering
Engineering — wpaudit.site

wpaudit.site

A big checklist of things you could/should be doing to make your website the best it can be. 80% of which is a good idea for any website, not just a WordPress

CCChris Coyier·February 24, 2020Engineering
Frontend — Animate SVG Path Changes in CSS

Animate SVG Path Changes in CSS

Every once in a while I'm motivated to attempt to draw some shapes with <path>, the all-powerful drawing syntax of SVG. I only understand a fragment of

CCChris Coyier·February 20, 2020Frontend
Engineering — Footnote Characters

Footnote Characters

There are special superset number characters that are sometimes perfect for footnotes. Here they are:

CCChris Coyier·February 19, 2020Engineering
Frontend — Same HTML, Different CSS

Same HTML, Different CSS

Ahmad Shadeed covers the idea of a card component that has a fixed set of semantic HTML with some BEMy classes on it. There is a title, author, image, and

CCChris Coyier·February 19, 2020Frontend
Engineering — Solving Sticky Hover States with @media (hover: hover)

Solving Sticky Hover States with @media (hover: hover)

Mezo Istvan does a good job of covering the problem and a solution to it in a blog post on Medium. If you tap on something that has a :hover state but you don't leave the page then, on a mobile device, there is a chance that :hover state "sticks." You'll see this with stuff like jump-links used as tabs or buttons that trigger on-page functionality.

CCChris Coyier·February 18, 2020Engineering
Engineering — Listen to your web pages

Listen to your web pages

A clever idea from Tom Hicks combining MutationObserver (which can "observe" changes to elements like when their attributes, text, or children change) and the

CCChris Coyier·February 16, 2020Engineering
Engineering — "CSS4" Update

"CSS4" Update

Since I first chimed in on the CSS4¹ thing, there's been tons of more discussion on it. I'm going to round up my favorite thoughts from others here. There is

CCChris Coyier·February 15, 2020Engineering
Engineering — 2020 Stack

2020 Stack

In an article with the most clickbaity article ever, Joe Honton does a nice job of talking about the evolving landscape of web development. "Full-stack"

CCChris Coyier·February 12, 2020Engineering
Frontend — Toward Responsive Elements

Toward Responsive Elements

Hot news from Brian Kardell, regarding what we've been referring to as "container queries," the most hotly requested feature in CSS:

CCChris Coyier·February 12, 2020Frontend
Design & UX — Design Systems Blogathon

Design Systems Blogathon

It was fun watching a bunch of back and forth blogging between a bunch of smart people quoting a bunch of smart people last week. If you missed it, you might

CCChris Coyier·February 10, 2020Design & UX
Frontend — The Case of the Stolen Domain Names

The Case of the Stolen Domain Names

Back in 2011, the domain name for this site, css-tricks.com, was stolen. "Domain Hijacking," they call it. It wasn't just this site, but around 12 others in

CCChris Coyier·February 10, 2020Frontend
Engineering — Guillermo's 2019 in Review

Guillermo's 2019 in Review

Of all the tech-focused year-in-review posts I read, Guillermo Rauch's is my favorite. There is a lot in there, jumping from topics like modern architectures,

CCChris Coyier·February 7, 2020Engineering
Engineering — Getting Fancy with position: sticky;

Getting Fancy with position: sticky;

Mike Solomon worked on a fancy scrollytelling post for Esquire and blogged about it. It has GIFs of each step along the way of figuring out not just position:

CCChris Coyier·February 6, 2020Engineering
Frontend — Browser Version Release Spectrum

Browser Version Release Spectrum

Whenever a browser upgrades versions, it's a little marketing event, and rightly so. Looks like for Firefox it's about once a month, Chrome is ~6 weeks, and

CCChris Coyier·February 5, 2020Frontend
Security — HTTPS is Easy!

HTTPS is Easy!

I've been guilty of publicly bemoaning the complexity of HTTPS. In the past, I've purchased SSL certificates from third-party vendors and had trouble

CCChris Coyier·February 5, 2020Security
Frontend — CSS4

CSS4

What is CSS4? Is it a real thing? I hate to break it to you, but not really. But maybe we could make it a thing? CSS3 was successful, so why not keep that train rolling like they do in JavaScript?

CCChris Coyier·February 4, 2020Frontend
Engineering — Freezing User-Agent Strings

Freezing User-Agent Strings

There's been news about Chrome freezing their User-Agent string (and all other major browsers are on board). That means they'll still have a User-Agent (UA)

CCChris Coyier·February 3, 2020Engineering
Engineering — Full Stack Panic

Full Stack Panic

A new podcast from Sean Fioritto inspired by Joel Califa's term "Full Stack Anxiety".

CCChris Coyier·February 1, 2020Engineering
Performance — Lightning-Fast Web Performance

Lightning-Fast Web Performance

If you're interested in leveling up your knowledge and skill of web performance, you can't do better than learning directly from Scott Jehl.

CCChris Coyier·January 31, 2020Performance
Career & Teams — Uses This

Uses This

A little interview with me over on Uses This. I'll skip the intro since you know who I am, but I'll republish the rest here.

CCChris Coyier·January 30, 2020Career & Teams