<!-- 动画效果,游戏,网易云音乐等网站设计更好看的时候。 -->
<divid="dh"></div>2.针对该div,编写动画div的动画帧、动画帧的调用效果;
#dh { width: 300px; height: 300px; margin-top: 50px; border-radius: 150px; background: url(../img/pic2.png); position: absolute; top: 0; left: 0; animation: donghua 1s infinite; }@keyframes donghua { from { transform: rotate(0); } to { transform: rotate(720deg); }}3.效果



