Home/Chris Coyier
Author

Chris Coyier

902 articles by Chris Coyier.

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
Engineering — Thank You, Christopher Schmitt

Thank You, Christopher Schmitt

It's incredibly sad that Christopher Schmitt passed away last week¹. I keep thinking about how Christopher was one of the best dudes I knew. Just incredibly

CCChris Coyier·April 16, 2020Engineering
Frontend — CSS Scrollbar With Progress Meter

CSS Scrollbar With Progress Meter

Scrollbars are natural progress meters. How far the scrollbar is down or across is how much progress has been made scrolling through that element (often the

CCChris Coyier·April 15, 2020Frontend
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
Frontend — CSS Foldable Display Polyfill

CSS Foldable Display Polyfill

Foldable phones are starting to be a thing. Early days, for sure, but some are already shipping, and they definitely have web browsers on them. Stands to

CCChris Coyier·April 9, 2020Frontend
Design & UX — The WebAIM Million—Updated

The WebAIM Million—Updated

This report made a big splash last year. It's a large chunk of research that shows just how terribly the web does with accessibility. It's been updated this

CCChris Coyier·April 8, 2020Design & UX
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 — Cloudinary Studio

Cloudinary Studio

I knew that Cloudinary worked with video as well as images but, the other day, I was curious if Cloudinary offered a video player embed just like other video

CCChris Coyier·April 1, 2020Engineering
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
Design & UX — Value Bubbles for Range Inputs

Value Bubbles for Range Inputs

HTML5 range inputs, in supported browsers and by design, don't show the user the actual value they are submitting. If you want to use the cool slider, but show the value, you'll have to do that yourself. Here we use the output element and jQuery to show the current value in a bubble that hovers above the range input.

CCChris Coyier·March 26, 2020Design & UX
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
Performance — Links on Performance I

Links on Performance I

I've had a number of browser tabs open to articles all related to web performance and gosh darn it if blogging them is a way for me get some closure. They are

CCChris Coyier·March 24, 2020Performance
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
Frontend — CSS Can Influence Screenreaders

CSS Can Influence Screenreaders

Ben Myers covers some clear examples of where CSS totally changes what some screen readers announce. For example, some screenreader will see text-transform:

CCChris Coyier·March 23, 2020Frontend
Frontend — Flexible Repeating SVG Masks

Flexible Repeating SVG Masks

Tyler Gaw reminds us that mask-image can repeat, resize, and move just like background-image does, which is fun to combine and play with. I could see it being

CCChris Coyier·March 22, 2020Frontend
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 — Auto-Archival

Auto-Archival

I'm sure most of us have used the ol' Wayback Machine to access some site that's gone offline. I don't actually know how it decides what sites to archive and

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
Architecture — A Few Background Patterns Sites

A Few Background Patterns Sites

If I need a quick background pattern to spruce something up, I often think of the CSS3 Patterns Gallery. Some of those are pretty intense but remember they

CCChris Coyier·March 18, 2020Architecture
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
Frontend — The CSS Calculating Function Guide

The CSS Calculating Function Guide

CSS has a special calc() function for doing basic math. In this guide, let's cover just about everything there is to know about this very useful function.

CCChris Coyier·March 17, 2020Frontend
Frontend — CSS X

CSS X

My name appears in an article from Bert Bos (co-author of the original CSS spec), so I'll consider that a life accomplishment. Bert makes the point that CSS

CCChris Coyier·March 16, 2020Frontend
Design & UX — How to Make Repeating Border Images

How to Make Repeating Border Images

I just saw this cool little site from Max Bittker: broider. You design an image on a 9-slice grid (except the middle part) and it will produce an image for

CCChris Coyier·March 16, 2020Design & UX
Frontend — The CSS Podcast

The CSS Podcast

From Adam and Una at Google, a podcast just about CSS. I believe I'm contractually obliged to link to that! Just one episode out so far, a shorty about the

CCChris Coyier·March 14, 2020Frontend
Engineering — Fluid Width Video

Fluid Width Video

IN A WORLD of responsive and fluid layouts on the web, ONE MEDIA TYPE stands in the way of perfect harmony: video. There are lots of ways in which video can

CCChris Coyier·March 11, 2020Engineering
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
Design & UX — Google Fonts + Variable Fonts

Google Fonts + Variable Fonts

I see Google Fonts rolled out a new design (Tweet). Compared to the last big redesign, this feels much more iterative. I can barely tell the difference

CCChris Coyier·March 7, 2020Design & UX
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