【发布时间】:2016-02-18 14:01:38
【问题描述】:
我无法让我的图像逆时针旋转我觉得我可能缺少一个简单的步骤,这是我的代码:请修复此代码。
.image {
position: absolute;
top: 30%;
left: 37%;
width: 430px;
height: 430px;
margin:210px 0 0 -60px;
-webkit-animation:spin 75s linear infinite;
-moz-animation:spin 75s linear infinite;
animation:spin 75s linear infinite;
}
.redline {
position: absolute;
top: 30%;
left: 37%;
width: 430px;
height: 430px;
margin:210px 0 0 -60px;
-webkit-animation:spin 35s linear infinite;
-moz-animation:spin 35s linear infinite;
animation:spin 35s linear infinite;
}
@-moz-keyframes spin {
100% { transform-moz-transform: spin(-720deg); }
}
【问题讨论】:
-
我希望图像逆时针旋转并不断从中心旋转