Articles by

Chris Coyier

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

Forums Downtime

Quick public service announcement: The CSS-Tricks forums will be unavailable starting now as the undergo awesomeness upgrades. I’ll update this post when they are back!

And they are back! Might be a bug here and there. Definitely let me know …

Browser Jumping

If you asked me right now, Hey Chris, what’s your favorite browser? I wouldn’t know what to tell you! I’ve been a Firefox user primarily over the past few years, but over the last several months my allegiance is no …

(Updated on )

English Time to Seconds

Just type in the time you want converted to seconds in english (e.g. “1 hour and 30 minutes”) and it will be converted to an integer of seconds (e.g. 5400). Thanks to Baylor Rae.

function time2seconds($time) {

 preg_match_all('/(\d+ [a-z]+)/', $time, 

Show Markup in CSS Comments

Let’s say you are creating a CSS file for a modular bit of a webpage. Perhaps you are the type that separates your CSS files into bits like header.css, sidebar.css, footer.css, etc. I just ran across an idea I thought …

Design v7

I rolled out a new design this weekend! As usual it’s a bit of an aesthetic overhaul (blue!). I’m going to cover the why, the new aspects, and some of the new technology involved. RSS readers, you’ll have to …

(Updated on )

Design History

Really basic desktop-size screenshots of versions of this site. Not a very good history, sadly. It’s incomplete. It doesn’t document all the change that happens during the lifespan of the design. It doesn’t show off interaction. I don’t have screenshots …

(Updated on )

BetterSource for Safari 5

Direct Link

One of the major bummers about Safari is that the “View Source” view is totally lackluster. No code highlighting, no live links, no line numbers, no refresh. Boooo. The BetterSource extension solves every one of those problems. I do wish

(Updated on )