Grow your CSS skills. Land your dream job.

CSS Gradients for IE9

Published by Chris Coyier

This article by Robert Biggs goes into a solution for using SVG for gradients in Internet Explorer 9, because it doesn't support CSS3 gradients. The core benefit being that the SVG image format is XML and actually rather similar in structure to how you create a -webkit-gradient. Thus you get the benefit of programatic declaration of colors and ease of updating.

Earlier in the article, Biggs also makes a good point about transitions and why doing them through CSS is better than JavaScript:

The single-threaded nature of JavaScript makes it inefficient for complex animations. Offloading style animations to the browser’s CSS rendering engine frees up JavaScript and allows the browser to use threads and hardware acceleration for better optimization.

I'd argue that (animations/transitions == visual design == CSS territory) so it's appropriate regardless of the benefit to freeing up JavaScript.

Direct Link →

*May or may not contain any actual "CSS" or "Tricks".