Home/Chris Coyier
Author

Chris Coyier

461 articles by Chris Coyier.

Engineering — Chrome + System Fonts Snafu

Chrome + System Fonts Snafu

There was just a bug late last year where system fonts (at least on Mac, I don't know what the story was on other platforms) in Chrome appeared too thin and

CCChris Coyier·April 24, 2020Engineering
Engineering — Front-End Challenges

Front-End Challenges

My favorite way to level up as a front-end developer is to do the work. Literally just build websites. If you can do it for money, great, you should. If the

CCChris Coyier·April 17, 2020Engineering
Engineering — Jetpack Instant Search!

Jetpack Instant Search!

Jetpack has had a search feature for a while. Flip it on, and it replaces your built-in WordPress search (which is functional, but not particularly good) with

CCChris Coyier·April 16, 2020Engineering
Frontend — No-Class CSS Frameworks

No-Class CSS Frameworks

I linked up Water.css not long ago as an interesting sort of CSS framework. No classes. No <h2 class="is-title">. You just use semantic HTML and get

CCChris Coyier·April 13, 2020Frontend
Engineering — A Grid of Logos in Squares

A Grid of Logos in Squares

Let's build a literal grid of squares, and we'll put the logos of some magazines centered inside each square. I imagine plenty of you have had to build a logo

CCChris Coyier·April 6, 2020Engineering
Frontend — CSS-Only Marquee Effect

CSS-Only Marquee Effect

You make sure the text is more than twice the width of the screen, then use negative translate animations to do the marquee movement.

CCChris Coyier·April 5, 2020Frontend
Engineering — Some Typography Links II

Some Typography Links II

I just can't stop bookmarking great links related to typography. I'm afraid I'm going to have to subject you, yet again, to a bunch of them all grouped up. So

CCChris Coyier·April 3, 2020Engineering
Frontend — Accessibility Links

Accessibility Links

Austin Gil has kicked off the first in a five-part series about "HTML Forms Right" and to starts with semantics. It's talking to the "we build our front-ends

CCChris Coyier·April 2, 2020Frontend
Engineering — RSS Stuff

RSS Stuff

Laura Kalbag wrote How to read RSS in 2020. This would be a nice place to send someone curious about RSS: what it is, what it's for, and how you can start

CCChris Coyier·March 30, 2020Engineering
Engineering — gqless

gqless

This is so cool. I mean, GraphQL is already cool. It's very satisfying to write an understandable-looking query for whatever you want and then use that data

CCChris Coyier·March 30, 2020Engineering
Frontend — Creating a Pencil Effect in SVG

Creating a Pencil Effect in SVG

Scott Turner, who has an entire blog "Exploring procedural generation and display of fantasy maps", gets into why vector graphics seems on these surface why

CCChris Coyier·March 28, 2020Frontend
Frontend — How to use CSS Scroll Snap

How to use CSS Scroll Snap

Nada Rifki demonstrates the scroll-snap-type and scroll-snap-alignCSS properties. I like that the demo shows that the items in the scrolling

CCChris Coyier·March 27, 2020Frontend
Frontend — CSS Viewport Units

CSS Viewport Units

Deep dive from Ahmad. I like the coverage of vmin and vmax, which I think I don't reach for as often as I should.

CCChris Coyier·March 25, 2020Frontend
Frontend — Auto-Growing Inputs & Textareas

Auto-Growing Inputs & Textareas

By default, <input> and <textarea> elements don't change size based on the content they contain. In fact, there isn't any simple HTML or CSS way

CCChris Coyier·March 25, 2020Frontend
Engineering — Different Favicon for Development

Different Favicon for Development

I bet a lot of us tend to have the production website and the development website up simultaneously a lot. It's almost a developer cliché at this point to

CCChris Coyier·March 23, 2020Engineering
Engineering — CSS2JS

CSS2JS

To add inline styles on an element in JSX, you have to do it in this object syntax, like:

CCChris Coyier·March 20, 2020Engineering
Engineering — Flexbox and absolute positioning

Flexbox and absolute positioning

Chen Hui Jing notes that when you absolutely position a flex item, it's no longer part of the flex layout. Except... it kinda is a little bit. If you make the

CCChris Coyier·March 18, 2020Engineering
Frontend — Tools for Optimizing SVG

Tools for Optimizing SVG

This is our straight-to-the-point list of SVG optimizing tools across a number of categories. They are all largely based around SVGO, but how you use it depends. There are web apps, desktop apps, apis, and even design tool add-ons.

CCChris Coyier·March 17, 2020Frontend
Engineering — Negative Margins

Negative Margins

PPK digs into the subject, which he found woefully undercovered in web tech documentation. Our entry doesn't mention them at all, which I'll aim to fix.

CCChris Coyier·March 9, 2020Engineering
Engineering — Geoff's Redesign Posts

Geoff's Redesign Posts

I love it when people redesign "in the open" and write about it. I'd just like to shout out to our own Geoff who has been doing this for 3 months now. He

CCChris Coyier·March 8, 2020Engineering
Frontend — Currying in CSS

Currying in CSS

Funny timing on this I was just looking at the website for Utopia (which is a responsive type project which I hate to admit I don't fully understand) and I

CCChris Coyier·March 6, 2020Frontend
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 — 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
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
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
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 — Neumorphism.io

Neumorphism.io

I was sort of making fun of neumorphism the other day. I don't actually care that much. I mostly just think it only works on some flat colored backgrounds,

CCChris Coyier·February 12, 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