jquery animate函数不能处理背景色渐变,需要使用jquery.color插件
gitHub地址:https://github.com/jquery/jquery-color/
使用代码:
$(function(){ $("#cdiv").animate( { backgroundColor:'#FF0000' },1000
) })
演示:
jquery animate函数不能处理背景色渐变,需要使用jquery.color插件
gitHub地址:https://github.com/jquery/jquery-color/
使用代码:
$(function(){ $("#cdiv").animate( { backgroundColor:'#FF0000' },1000
) })
演示:
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。