CSS Transitions with:before和:after伪元素 [英] CSS Transitions with :before and :after pseudo elements
本文介绍了CSS Transitions with:before和:after伪元素的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
似乎无法使用-webkit-transition设置动画元素。下面的小提琴显示了我在Chrome / Safari中运行时的意思,我想这是不是现在不支持?
Can't seem to animate pseudo elements with -webkit-transition. The fiddle below shows what I mean when run in Chrome/Safari, I guess this isn't supported right now?
http://jsfiddle.net/4rnsx/130/
推荐答案
固定
现在(我确实更新此列表)支持:
By now (I do update this list) it's supported in:
- FireFox 4.0及以上
- Chrome 26及以上
- IE 10及以上
等待Safari和Android版Chrome浏览器提取这些更新。
Waiting for Safari and Chrome for Android to pull these updates.
您可以在浏览器中自行测试,或
这篇关于CSS Transitions with:before和:after伪元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文