欢迎来到DIVCSS5查找CSS资料与学习DIV CSS布局技术!
您的位置:DIVCSS5首页 > CSS3 >

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;

如需转载,请注明文章出处和来源网址:http://www.divcss5.com/css3-style/c39184.shtml

我要分享到:

必备CSS教程 Essential CSS Tutorials

必备HTML基础教程 Essential HTML Tutorials

如对文章有任何疑问请提交到DIV CSS论坛,或有任何网页制作CSS问题立即到CSS论坛发贴求解 或 直接DIVCSS5网页顶部搜索遇到DIVCSS疑问。
CSS教程文章修订日期:2017-09-10 09:29 原创:DIVCSS5
本文www.divcss5.com DIVCSS5版权所有。