css动画箭头上线转动切换效果


//点击转动需要的样式:
.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) } }

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM