纯css3按钮结合图标悬停动画特效



71 280 94



特效描述:纯css3 按钮结合图标 悬停动画特效,css3利用transform属性制作按钮和图标通过鼠标悬停动画切换效果代码。

代码结构

1. 引入CSS

<link rel="stylesheet" type="text/css" href="http://cdn.bootcss.com/font-awesome/4.6.0/css/font-awesome.min.css">

2. HTML代码

<div class="container">
  <h1>CSS3 按钮悬停动画</h1>
  <div class="button-effect">
    <h2>Effect #1</h2>
    <a class="effect effect-1" href="#" title="Learn More">Learn More</a>
    <a class="effect effect-1" href="#" title="Learn More">Learn More</a>
    <a class="effect effect-1" href="#" title="Learn More">Learn More</a>
    <a class="effect effect-1" href="#" title="Learn More">Learn More</a>
    <a class="effect effect-1" href="#" title="Learn More">Learn More</a>
  </div>
  <div class="button-effect">
    <h2>Effect #2</h2>
    <a class="effect effect-2" href="#" title="Learn More">Learn More</a>
    <a class="effect effect-2" href="#" title="Learn More">Learn More</a>
    <a class="effect effect-2" href="#" title="Learn More">Learn More</a>
    <a class="effect effect-2" href="#" title="Learn More">Learn More</a>
    <a class="effect effect-2" href="#" title="Learn More">Learn More</a>
  </div>
  <div class="button-effect">
    <h2>Effect #3</h2>
    <a class="effect effect-3" href="#" title="Learn More">Learn More</a>
    <a class="effect effect-3" href="#" title="Learn More">Learn More</a>
    <a class="effect effect-3" href="#" title="Learn More">Learn More</a>
    <a class="effect effect-3" href="#" title="Learn More">Learn More</a>
    <a class="effect effect-3" href="#" title="Learn More">Learn More</a>
  </div>
   <div class="button-effect">
    <h2>Effect #4</h2>
    <a class="effect effect-4" href="#" title="Learn More">Learn More</a>
    <a class="effect effect-4" href="#" title="Learn More">Learn More</a>
    <a class="effect effect-4" href="#" title="Learn More">Learn More</a>
    <a class="effect effect-4" href="#" title="Learn More">Learn More</a>
    <a class="effect effect-4" href="#" title="Learn More">Learn More</a>
  </div>
   <div class="button-effect">
    <h2>Effect #5</h2>
    <a class="effect effect-5" href="#" title="Learn More">Learn More</a>
    <a class="effect effect-5" href="#" title="Learn More">Learn More</a>
    <a class="effect effect-5" href="#" title="Learn More">Learn More</a>
    <a class="effect effect-5" href="#" title="Learn More">Learn More</a>
    <a class="effect effect-5" href="#" title="Learn More">Learn More</a>
  </div>
</div>



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册


热门标签: 滚动切换 滚动条切换 滑动选项卡 滑动切换 加载动画 选项卡切换 选项卡 切换 tab切换 页面切换 选项卡插件 切换插件 滑动手风琴 h5弹窗动画 html5弹窗动画 h5动画 h5背景动画 h5场景动画 h53D动画 h5界面动画 html5动画 h5按钮动画 html5按钮动画 h5图片动画 h5图标动画 html5图片动画 html5图标动画 图片切换 图片选项卡 图标选项卡

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

加群请备注:从官网了解到