您好,登錄后才能下訂單哦!
這篇文章給大家分享的是有關css3技術的hover動畫效果有哪些的內容。小編覺得挺實用的,因此分享給大家做個參考,一起跟隨小編過來看看吧。
hover動畫,簡言之就是鼠標移上去觸發(fā)的動畫,就是觸發(fā)了鼠標的hover事件時能看到的動畫!
1.簡單動畫
html
<span class="ech-big">big</span><span class="ech-small">small</span>
css
.ech-big,.ech-small { transition: all .4s;
2形狀變化
html
<span class="ech-skew-l">skew-l</span><span class="ech-skew-r">skew-r</span><span class="ech-skew-l-t">skew-l-t</span><span class="ech-skew-r-t">skew-r-t</span><span class="ech-skew-l-b">skew-l-b</span><span class="ech-skew-r-b">skew-r-b</span>
css
.ech-skew-l, .ech-skew-r, .ech-skew-l-t, .ech-skew-r-b, .ech-skew-l-b, .ech-skew-r-t{ transition: all .4s;
3旋轉角度變化
html
<span class="ech-grow-rotate-l">grow-rotate-l</span><span class="ech-grow-rotate-r">grow-rotate-r</span><span class="ech-rotate5">rotate5</span><span class="ech-rotate15">rotate15</span><span class="ech-rotate30">rotate30</span><span class="ech-rotate60">rotate60</span><span class="ech-rotate90">rotate90</span><span class="ech-rotate180">rotate180</span><span class="ech-rotate360">rotate360</span><span class="ech-rotate-5">rotate-5</span><span class="ech-rotate-15">rotate-15</span><span class="ech-rotate-30">rotate-30</span><span class="ech-rotate-60">rotate-60</span><span class="ech-rotate-90">rotate-90</span><span class="ech-rotate-180">rotate-180</span>
css
.ech-grow-rotate-l,.ech-grow-rotate-r, .ech-rotate5, .ech-rotate15, .ech-rotate30, .ech-rotate60, .ech-rotate90, .ech-rotate180, .ech-rotate360, .ech-rotate-5,.ech-rotate-15, .ech-rotate-30, .ech-rotate-60, .ech-rotate-90, .ech-rotate-180{transition: all .4s;
4位移變化
html
<span class="ech-t">up</span>
css
.ech-t,.ech-bottom,.ech-top,.ech-right{ transition: all .4s;
5邊框變化
html
<span class="ech-border">border</span>
css
.ech-border,.ech-border-in{ transition: all .4s;
6陰影變化
html
<span class="ech-shadow">shadow</span>
css
.ech-shadow,.ech-shadow-in,.ech-shadow-write,.ech-shadow-big{ transition: all .4s;
7透明度變化
html
<span class="ech-fade-out">fade-out</span>
css
.ech-fade-out,.ech-fade-in{ transition: all .4s;
8圓角變化
html
<span class="ech-rectangle">rectangle</span><span class="ech-radius">radius</span>
css
.ech-radius,.ech-rectangle{ transition: all .4s;
感謝各位的閱讀!關于“css3技術的hover動畫效果有哪些”這篇文章就分享到這里了,希望以上內容可以對大家有一定的幫助,讓大家可以學到更多知識,如果覺得文章不錯,可以把它分享出去讓更多的人看到吧!
免責聲明:本站發(fā)布的內容(圖片、視頻和文字)以原創(chuàng)、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關證據(jù),一經查實,將立刻刪除涉嫌侵權內容。