Home/Chris Coyier
Author

Chris Coyier

446 articles by Chris Coyier.

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 — 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
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 — 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