CSS-Tricks*

A Web Design Community curated by Chris Coyier

Latest Articles

Value Bubbles for Range Inputs

4/13/2011
8 Comments

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.

Read on! →

Speed Up with CSS3 Gradients

4/1/2011
89 Comments

This article was originally published on March 2, 2010. It is now updated to include the latest browser support and syntaxes.

Safari 4+, Chrome 1+, Firefox 3.6+, and Opera 11.10+ are all now supporting CSS3 gradients. This wide browser support makes using them for progressive enhancement all the more appealing. More good news, CSS3 gradients fall into the camp where you can specify fallbacks (i.e. images) so that browsers that don’t support them just use the image instead. …

Read on! →

Latest Screencast

#95: A Tale of Border Gradients

Turns out there is a simple way to accomplish gradients on borders. That took me longer than it should have to arrive at though, this screencast covers all the ways I tried and looked at along the way.

View Demo   Download Files

Links from Video:

Latest Snippets