这篇文章主要为大家展示了“Css3中6种动画效果的示例分析”,内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下“Css3中6种动画效果的示例分析”这篇文章吧。
1.闪烁效果
html
<span class="ech-flash">flash</span>
css
.ech-flash:hover { animation: flash .5s ease;
2.闹钟振铃效果
html
<span class="ech-shake-time">shake-time</span>
css
.ech-shake-time:hover { animation: shake-time 1s ease;
3.摇摆效果
html
<span class="ech-wobble-c">wobble-c</span><span class="ech-wobble-t">wobble-t</span><span class="ech-wobble-b">wobble-b</span>
css
.ech-wobble-t, .ech-skew-r-t, .ech-skew-l-t { transform-origin: 0 100%;
4.摇晃效果
html
<span class="ech-swing">swing</span>
css
.ech-swing:hover { animation: swing .5s ease alternate;
5.抖动效果
html
<span class="ech-shake">shake</span>
css
.ech-shake:hover { animation: shake .5s ease;
6.弹跳效果
html
<span class="ech-bounce">bounce</span>
css
.ech-bounce:hover { animation: bounce 1s ease;
以上是“Css3中6种动画效果的示例分析”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注编程网行业资讯频道!