Skip to content Skip to sidebar Skip to footer

CSS Animation: Works In Chrome But Not In Firefox?

In rotate animation, works in Chrome but not in Firefox. Why? @-moz-keyframes rotate { from { -moz-transform: rotate(0deg); } to { -moz-transform: rotate(360deg); } } @-we

Solution 1:

Current Firefox implementations fail unless time values of 0 have units. Use 0s or 0ms.

http://jsfiddle.net/WsWWY/1/

Note: The W3C explicitly allows for the number 0, without units, to be a length value, but it says no such thing for other values. Personally, I hope this changes, but for the time being the Firefox behavior is not incorrect.


Post a Comment for "CSS Animation: Works In Chrome But Not In Firefox?"