jQuery: The Write Less, Do More JavaScript Library

Element gradient

Average rating
(0 votes)

This plugin requires the Dimensions plugin and jQuery version 1.1.3+.

It allows you to define a gradient fill and have an element filled with a linear gradient. You can set the direction of the gradient (right-left or up-down) and the opacity of the gradient easily.

There is a colorGradient plugin which seems similar but takes a collection of elements and applies a gradient to each element, whereas this plugin applies a gradient fill to all matched elements. If you look at our example pages, you can see the differences.

Probably it would be a good idea to merge these two plugins eventually.

Releases

Official releasesDateSizeLinksStatus
1.0.0-beta2007-Aug-175.18 KBRecommended for 1.0.xThis is currently the recommended release for 1.0.x.