//点击转动需要的样式:
.orderInfo0122 { animation: customAnimation1 500ms; animation
-fill-mode: forwards; } @keyframes customAnimation1{ from{ transform: rotate(0deg); } to{ transform: rotate(180deg) } }
//点击恢复转动的样式:
.orderInfo0123 { 
animation: customAnimation2 500ms;
animation
-fill-mode: forwards; }
@keyframes customAnimation2{
from{ transform: rotate(180deg); }
to{ transform: rotate(0deg) } }

 

相关文章:

  • 2022-12-23
  • 2021-12-25
  • 2021-08-02
  • 2021-11-02
  • 2021-12-11
  • 2021-08-30
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-07
  • 2022-12-23
  • 2021-08-09
  • 2021-05-20
  • 2021-09-11
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案