@-webkit-keyframes change{ 0%{-webkit-transform:rotate(0deg)} 10%{-webkit-transform:rotate(3deg)} 20%{-webkit-transform:rotate(-3deg)} 30%{ -webkit-transform:rotate(2deg)} 40%{ -webkit-transform:rotate(-2deg)} 50%{ -webkit-transform:rotate(1deg)} 60%{ -webkit-transform:rotate(-1deg)} 70%{ -webkit-transform:rotate(0deg)} 100%{ -webkit-transform:rotate(0deg)} }.srock{ -webkit-animation:change 2s infinite; } <div class="main"> <div class="box srock"> <div class="zongzi"></div> <div class="s1"></div> <div class="zongzirou"></div> <div class="zuoye"></div> <div class="youye"></div> <div class="diye"></div> <div class="t1"></div> <div class="t2"></div> </div>
- 1 回答
- 0 关注
- 1625 浏览
相关问题推荐
添加回答
举报
0/150
提交
取消