CSS Gradients via Canvas on non-WebKit browsers

Weston Ruter has created a cool library of CSS gradients on non-WebKit browsers “CSS Gradients via Canvas provides a subset of WebKit's CSS Gradients proposal for browsers that implement the HTML5 canvas element. To use, just include css-gradients-via-canvas.js (12KB) anywhere on the page.Unlike WebKit, this implementation doesn’t currently allow gradients to be used for border images, list […]

Weston Ruter has created a cool library of CSS gradients on non-WebKit browsers “CSS Gradients via Canvas provides a subset of WebKit's CSS Gradients proposal for browsers that implement the HTML5 canvas element. To use, just include css-gradients-via-canvas.js (12KB) anywhere on the page.Unlike WebKit, this implementation doesn’t currently allow gradients to be used for border images, list bullets, or generated content. The script employs document.querySelectorAll()—it has no external dependencies if this function is implemented; otherwise, it looks for the presence of jQuery, Prototype, or Sizzle to provide selector-querying functionality.”

More infoCSS Gradients