2011-06-13 66 views
4

閃爍我要慢慢放大圖像。我idea作品在WebKit的很不錯,但不能在Firefox。 是否有人知道爲什麼或如何使它更好?慢CSS3動畫在Firefox

+1

的影響是JavaScript的依賴,所以沒有理由使用CSS3轉換,我可以看到,其他比性能收益。但是,因爲效果需要20秒*,所以您可以在沒有'transform'的情況下使用JavaScript來完成同樣的事情,並且幾乎同樣快,但是可以在*所有瀏覽器中使用*。如果在Firefox中無法改進這一點,請記住一些事項。 – thirtydot 2011-06-13 09:18:24

+1

標題是誤導性:這不是關於[CSS3動畫](http://www.w3.org/TR/css3-animations/)。 – Knu 2011-06-13 10:01:41

回答

1

火狐歌劇不支持CSS3動畫

測試:http://modernizr.github.com/Modernizr/test/index.html

+1

火狐5(目前測試版)那樣 - http://www.css3.info/css3-animations-support-in-firefox-5-beta/ 和Opera 10.5確實以及 - http://www.opera.com/docs/specs/presto23/css/transitions/ – Phil 2011-06-13 09:31:07

+0

Mozilla將此視爲一個bug:https://twitter.com/#!/paulrouget/status/80204726054043648 – binarious 2011-06-13 09:38:45

+3

你在開玩笑嗎?這*不使用*動畫,它使用'transform' [http://caniuse.com/transforms2d](http://caniuse.com/transforms2d)和'transition' [http://caniuse.com/#搜索=過渡](http://caniuse.com/#search=transition),兩者的工作在Firefox 4。 – thirtydot 2011-06-13 09:40:39