jquery animate()背景色渐变的处理
时间:2014-08-11 00:00:00
收藏:0
阅读:261
jquery animate函数不能处理背景色渐变,需要使用jquery.color插件
gitHub地址:https://github.com/jquery/jquery-color/
使用代码:
$(function(){ $("#cdiv").animate( { backgroundColor:‘#FF0000‘ },1000
) })
演示:
评论(0)