Eventually, I wish to dynamically alter gradients based on different things, but how do I get jquery to apply a css3 gradient?
//works $(element).css(\"bac
I'm using the hyphenated syntax in the JSON format (I always use the JSON format to be consistent). And it's working fine in both Chrome and Firefox.
For example:
$("#googleFeed div:even").css({ 'background':'-webkit-linear-gradient(top,white,black)', });