background preloader

Background

Facebook Twitter

Speed Up with CSS3 Gradients. This article was originally published on March 2, 2010.

Speed Up with CSS3 Gradients

It was updated April 1, 2011, July 20, 2011, and again March 3, 2014, each time to clarify and correct browser prefixes and best practices. Just as you can declare the background of an element to be a solid color in CSS, you can also declare that background to be a gradient. Using gradients declared in CSS, rather using an actual image file, is better for control and performance. Gradients are typically one color that fades into another, but in CSS you can control every aspect of how that happens, from the direction to the colors (as many as you want) to where those color changes happen. Everything You Wanted To Know About Gradients (And a Few Things You Didn’t) Hello.

Everything You Wanted To Know About Gradients (And a Few Things You Didn’t)

I am here to discuss CSS3 gradients. Because, let’s face it, what the web really needed was more gradients. Still, despite their widespread use (or is it overuse?) , the smartly applied gradient can be a valuable contributor to a designer’s vocabulary. There’s always been a tension between the inherently two-dimensional nature of our medium, and our desire for more intensity, more depth in our designs. Linear Gradients. Ultimate CSS Gradient Generator - ColorZilla.com.