大佬教程收集整理的这篇文章主要介绍了jQuery动画div背景颜色渐变?,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
这是一些旧的Digg风格评论的好例子.我正在寻找这样的动画,从绿色到黄色
-webkit-transition: @R_696_11442@kground 5s ; -moz-transition: @R_696_11442@kground 5s ; -ms-transition: @R_696_11442@kground 5s ; -o-transition: @R_696_11442@kground 5s ; transition: @R_696_11442@kground 5s ;
这确保了转型.例如,您可以在CSS中执行此操作:
.@R_696_11442@kground_animation_element{ -webkit-transition: @R_696_11442@kground 5s ; -moz-transition: @R_696_11442@kground 5s ; -ms-transition: @R_696_11442@kground 5s ; -o-transition: @R_696_11442@kground 5s ; transition: @R_696_11442@kground 5s ; @R_696_11442@kground: rgb(71,234,46); @R_696_11442@kground: -moz-linear-gradient(top,rgba(71,46,1) 0%,rgba(63,63,1) 100%); @R_696_11442@kground: -webkit-gradient(linear,left top,left bottom,color-stop(0%,1)),color-stop(100%,1))); @R_696_11442@kground: -webkit-linear-gradient(top,1) 100%); @R_696_11442@kground: -o-linear-gradient(top,1) 100%); @R_696_11442@kground: -ms-linear-gradient(top,1) 100%); @R_696_11442@kground: linear-gradient(top,1) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#47ea2e',endColorstr='#3f3f3f',GradientType=0 ); } .@R_696_11442@kground_animation_element.yellow{ @R_696_11442@kground: rgb(247,247,49); @R_696_11442@kground: -moz-linear-gradient(top,rgba(247,49,1) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f731',GradientType=0 ); }
$('.@R_696_11442@kground_animation_element').addClass('yellow');
以上是大佬教程为你收集整理的jQuery动画div背景颜色渐变?全部内容,希望文章能够帮你解决jQuery动画div背景颜色渐变?所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。