Element gradient

Element gradient
 点击下载
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. 

转载请注明:代码家园 » Element gradient

评论列表(网友评论仅供网友表达个人看法,并不表明本站同意其观点或证实其描述)