我想在IE9中运行或转换为java脚本&在IE9中运行!
#div1{
width:100px;
height:150px;
float:left;
background-color:red;
animation: mymove 2s infinite;
-webkit-animation: mymove 2s infinite;
-webkit-animation-direction: alternate;
animation-direction: alternate;
transform-origin: 50% 0%;}
@keyframes mymove {
from {transform:rotate(10deg);}to {transform:rotate(-10deg);}
}
@-webkit-keyframes mymove {
from {transform:rotate(10deg);}to {transform:rotate(-10deg);}
}发布于 2014-10-13 11:24:51
在IE9中不支持它。
来源:http://caniuse.com/#search=keyframe
不幸的是,几乎没有直接的CSS解决方案。
最好是在javascript库的帮助下制作动画。一个例子是jquery动画效果:http://api.jquery.com/category/effects/
发布于 2014-10-07 21:13:19
CSS3动画(关键帧)在IE9上不起作用。
https://stackoverflow.com/questions/26236480
复制相似问题