当前位置:Gxlcms > html代码 > 9款基于CSS3Transitions实现的鼠标经过图标悬停特效_html/css_WEB-ITnose

9款基于CSS3Transitions实现的鼠标经过图标悬停特效_html/css_WEB-ITnose

时间:2021-07-01 10:21:17 帮助过:20人阅读

之前给大家分享了很多css3实现的按钮特效。今天给大家分享9款基于CSS3 Transitions实现的鼠标经过图标悬停特效。这款特效适用浏览器:360、FireFox、Chrome、Safari、Opera、傲游、搜狗、世界之窗. 不支持IE8及以下浏览器。效果图如下:

在线预览 源码下载

实现的代码。

html代码:

Mobile Desktop Partners Support Security

css3代码:

.hi-icon-effect-6 .hi-icon {    box-shadow: 0 0 0 4px rgba(255,255,255,1);    transition: background 0.2s, color 0.2s;    }.no-touch .hi-icon-effect-6 .hi-icon:hover {    background: rgba(255,255,255,1);    color: #64bb5d;}.no-touch .hi-icon-effect-6 .hi-icon:hover:before {    animation: spinAround 2s linear infinite;}@keyframes spinAround {    from {        transform: rotate(0deg)    }    to {        transform: rotate(360deg);    }}

via:http://www.w2bc.com/Article/20379

人气教程排行