CSS3动画(关键帧)在IE9中不起作用

CSS3动画(关键帧)在IE9中不起作用,css,internet-explorer-9,Css,Internet Explorer 9,我想在IE9中运行或转换为java脚本&在IE9中运行!无异 #div1{ width:100px; height:150px; float:left; background-color:red; animation: mymove 2s infinite; -webkit-animation: mymove 2s infinite; -webkit-animation-directio

我想在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);}
  }
CSS3动画(关键帧)在IE9上不起作用


看看。

IE9不支持它

资料来源:

不幸的是,很少有直接的CSS解决方法

最好在javascript库的帮助下制作动画,作为解决方法。 例如jquery动画效果: