1
我想下面的图像旋转360度及以下应用了图像的CSS:Spining不适用于手机为什么?
<img src="" alt="" />
CSS:
.image {
position: absolute;
top: 50%;
left: 50%;
width: 120px;
height: 120px;
margin:-60px 0 0 -60px;
-webkit-animation:spin 4s linear infinite;
-moz-animation:spin 4s linear infinite;
animation:spin 4s linear infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }
其桌面上工作良好,但无法在手机上?如果我做错了什么?
什么是移动浏览器? – Justinas
.. – Sangrai
将手机连接到PC,并使用普通浏览器devtools检查元素。 – Justinas