Element gradient

联合创作 · 2023-10-02 15:33

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.

浏览 4
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报