.Rotation {
-webkit-transform: rotate(360deg);
animation: rotation 60s linear infinite;
-moz-animation: rotation 3s linear infinite;
-webkit-animation: rotation 3s linear infinite;
-o-animation: rotation 3s linear infinite;
}
@-webkit-keyframes rotation {
from {
-webkit-transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
}
}
css实现360度不间断旋转效果
于 2024-04-26 09:01:10 首次发布
文章详细介绍了如何使用CSS3的Webkit-keyframes规则创建一个元素进行360度无限旋转的动画效果,涉及了不同浏览器兼容性的处理。
1万+

被折叠的 条评论
为什么被折叠?



