Articles by

Chris Coyier

Founder, writer, designer, spam-deleter, email personality

Notes to an Agency Starting Their First Responsive Web Project

This past week I talked with a design agency who was about to embark upon their first responsive web design project. It sounded rather app-like. They were interested in hearing about my experiences, what to expect, what the process is …

(Updated on )

First Sighting: CSS Variables

Direct Link

The very first native browser implementation of CSS variables are here. Stoyan Stefanov shows them off. It will be a long while until we can use them in production but hey, onward and upward!…

One, Two, or Three

That’s how many CSS files should be loaded on any website.…

(Updated on )

Forcing Grayscale Printing

At the time of this writing, this will only work in Chrome 18+, but it’s standardized so support will eventually come to everywhere.

@media print {
  body {
    /* IE4-8 and 9 (deprecated). */
    filter: Gray();
    /* SVG version for 
(Updated on )

Find and Wrap Ampersands

Load this plugin. Then:

$("body *").replaceText( /&/gi, '<b class="ampersand">' + '&' + '</b>' );

Change the selector as needed. That one is pretty intense.

Now you have a class name you can use to style them specially.

.ampersand {