possible to have a background color transition from color A to color B without repeating a pixel sti

Posted by Andrew Heath on Stack Overflow See other posts from Stack Overflow or by Andrew Heath
Published on 2010-04-28T01:11:55Z Indexed on 2010/04/28 1:13 UTC
Read the original article Hit count: 374

For things like menubars and headers, a background color is nice.

But a background color that gracefully transitions from say Blue to White is even nicer.

I know this can be done by making a 1-pixel wide, X-pixel tall image file containing the desired fade and repeating it across the div, but does CSS have native support to just define colors and be done with it?

Can any other language handle this?

© Stack Overflow or respective owner

Related posts about css

Related posts about background-color