Similar to NetEase Cloud Music and QQ Music, the idea of rotating the middle image is to use js animate to control it, or to write css3 animation.
仅有的幸福2017-06-26 10:56:45
In the MVC or MVVM mode used in general projects, the view should be strictly made using HTML+CSS. The js code should only process the logic without interfering with the view
过去多啦不再A梦2017-06-26 10:56:45
This animation is relatively simple and straightforward to use transform: rotate();
! For something a little more complicated, use js or animate to execute it in several steps!