Firefox CSS gradients

ive avoided gradients for years, considering that having 1 extra file just for some stupid gradient was a bad idea, but now…
just found out that firefox3.6 has css gradients! how sweet is this! :smiley:

i wonder how many other browsers have this.

too bad i can’t use this yet or that there is no ability in css to disable a gradient image request only in firefox replacing it with the css gradient, essentially giving a page load speed bonus to firefox users.

yay for gradients.

Yes IE has had something similar for years but everyone avoided using anything proprietary.

You could supply background images in the first rule and then just use the background gradient syntax in the next rule to cancel out the image if gradients are supported. IE would need it’s own rules of course.

http://www.westciv.com/tools/gradients/index-moz.html