CSS-Tricks*

A Web Design Community curated by Chris Coyier

Latest Articles

Poll Results: Does Your Degree Relate To Your Job?

12/2/2010
24 Comments

There is a bit of an idea in our little web design world that “nobody who works on the web went to school for it.” At least, I get that feeling. Especially from little stories like these:

I have a BS in Botany, but after designing my first website on the university servers, I was hooked. Did a couple of sites for friends while working in a plant lab, and now I’m a full time web programmer and designer.

Read on! →

Design v8

12/2/2010
214 Comments

I had some extra time over Thanksgiving so I decided to spend it doing some recreational designing of this site. Here’s a few quick notes (I need to get back to content!):

Read on! →

Keep Margins Out of Link Lists

11/29/2010
54 Comments

When building a menu or other list of links, it’s generally a good practice to use display: block; or display: inline-block; so that you can increase the size of the link target. The simple truth: bigger link targets are easier for people to click and lead to better user experience.

Read on! →

Google CDN Naming Conventions (and You)

11/26/2010
24 Comments

You’ve seen this before:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>

This is a way you can load a JavaScript library like jQuery directly from Google’s CDN (Content Delivery Network). You can get quick copy/paste access to these from ScriptSrc.net.

See in that above URL how it is pointing to 1.4.4 specifically? That little part of the URL can be tweaked. Perhaps you’ve seen it used that way before.

/1.4.4/Loads this very specific version of jQuery which will never

Read on! →

Latest Screencast

#93: CSS3 Slideup Boxes

Follow along as we use a few very simple CSS3 transitions to create a "slideup" box effect. Roll over the box with your mouse, and the title of the box slides out of the way and a more descriptive stylized box of information jockeys its way into place. This is supported in modern version of Gecko, WebKit, and Opera browsers. No Internet Explorer support yet, but no fallback is needed, the link works and the information shows as expected.

Latest Snippets