大佬教程收集整理的这篇文章主要介绍了CSS3 Transitions不支持RGBA Background属性吗?,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
#menu .col_1 a{ -webkit-transition: all .5s ease-out 0.1s; -moz-transition: all .5s ease-out 0.1s; -o-transition: all .5s ease-out 0.1s; transition: all .5s ease-out 0.1s; } #menu .col_1 a:hover{ BACkground-color: rgb(255,255,255); BACkground-color: rgba(255,0.5); /* For IE 5.5 - 7*/ filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000); /* For IE 8*/ -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000)"; }
我搞砸了什么或是不支持这种转变?悬停工作正常,我只是没有看到任何转换.
这是您需要的代码:
#menu .col_1 a { -webkit-transition: all .5s ease-out 0.1s; -moz-transition: all .5s ease-out 0.1s; -o-transition: all .5s ease-out 0.1s; transition: all .5s ease-out 0.1s; BACkground-color: rgba(0,1); color: red; } #menu .col_1 a:hover { BACkground-color: rgb(255,255); BACkground-color: rgba(255,0.5); /* For IE 5.5 - 7*/ filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000); /* For IE 8*/ -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000)";
}
如果你需要的话,可以使用它:http://jsfiddle.net/TAMA2/
以上是大佬教程为你收集整理的CSS3 Transitions不支持RGBA Background属性吗?全部内容,希望文章能够帮你解决CSS3 Transitions不支持RGBA Background属性吗?所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。