CSS Animation/Scale issue in Chrome/Webkit

倖福魔咒の 提交于 2019-11-30 17:39:20

问题


This effect works fine in FF but not Chrome- the Firebug results in Chrome show that the '-webkit-animation' aren't rendered in Chrome. In Firefox however, you see the'stretch' effect on entrance of the object. In Chrome, the object doesn't scale at all.

http://jsfiddle.net/AfDwu/5/


回答1:


You are not specifying the properties of the -webkit-animation, only the name.

Replace:

-webkit-animation-name: ooze

With:

-webkit-animation: ooze  2s 2s ease-in-out;

And it will work



来源:https://stackoverflow.com/questions/7801084/css-animation-scale-issue-in-chrome-webkit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!