2
好的,所以,我做了一个代码,我在找的是一个图像,永远旋转,它正在工作,但只在Firefox中,它不工作在铬,任何人都可以帮忙吗?旋转css不工作在铬
代码:
<div align="left" class="header">
<img src="http://files.enjin.com/177852/SD/PortalHeaderContinuous1.png" class="header2" style="position:fixed; z-index:50; margin-left:-120px; margin-top:20px;">
</div>
<style>
.header2{
animation: rotate 5s linear 0s infinite;
-webkit-animation: rotate 1s linear 0s infinite;
}
@keyframes rotate
{
0% {}
100% {-webkit-transform: rotate(-360deg);
-moz-transform: rotate(-360deg);
transform: rotate(-360deg);}
}
</style>
感谢这个,我发现在我之前缺少的东西读这个,但你回答正确的事情,谢谢:) – NepsName