风一样的美男子
风一样的美男子
  • 发布:2021-03-17 16:38
  • 更新:2021-03-17 16:38
  • 阅读:703

#插件讨论# 【 Icons 图标 - DCloud前端团队 】uni-icons 不能加 css 动画吗?

分类:uni-app
<uni-icons class="loading-icon" type="spinner-cycle" size="16" color="#999"></uni-icons>
.loading-icon {  
    animation: loading 2s infinite linear;  
}  
  
  @keyframes loading {  
    0% {  
      transform: rotate(0deg);  
    }  
    100% {  
      transform: rotate(360deg);  
    }  
  }

给 uni-icons 加了旋转动画,不起作用。

2021-03-17 16:38 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复