为什么Firefox以不同于Chrome / Safari的方式旋转元素? [英] Why does Firefox rotate an element differently than Chrome/Safari?
本文介绍了为什么Firefox以不同于Chrome / Safari的方式旋转元素?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在jsFiddle中,为什么Firefox会以不同于Chrome或Safari的方式轮换容器?
In the jsFiddle below why does Firefox rotate the container differently than Chrome or Safari?
浏览器版本信息:
- Firefox 7.0.1
- Safari 5.1.1
- Chrome 15.0 .874.120
在Chrome和Safari中,容器会逐渐旋转,而在Firefox中,容器会立即旋转。
In Chrome and Safari the container rotates gradually whereas in Firefox the container rotates immediately.
推荐答案
我不知道这是否有帮助...我替换了
I'm not sure if this helps... I replaced
-moz-transition-property: rotate;
-moz-transition-duration: .17s;
-moz-transition-timing-function: linear;
与
-moz-transition: -moz-transform 0.17s linear;
它工作正常。可能是一个语法的东西...我来看看mozilla开发者网络来确认。
And it works fine. Could be a syntax thing... I'm taking a look at the mozilla developer network to confirm.
这里是工作 jsfiddle 。
这篇关于为什么Firefox以不同于Chrome / Safari的方式旋转元素?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文