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