香蕉久久夜色精品国产使用方法,激情网站在线,欧美日韩免费一区二区三区视频,一区二区久久久久

如何練就優(yōu)秀的項(xiàng)目體驗(yàn)
創(chuàng)意、流程、執(zhí)行缺一不可
CREATIVITY, PROCESS, PERFORM INDISPENSABLE
3種CSS3按鈕特效-原創(chuàng)
2016-09-20

這是本人自己寫的比較常見的3種按鈕特效

*html

<div class="box">
<a class="buttom">按鈕1</a>
<br /><br />
<a class="buttom_2">按鈕2</a>
<br /><br />
<a class="buttom_3">按鈕2</a>
</div>

*css

.box{width:100px;margin:0 auto ;text-align: center;}
.buttom{position: relative;display: inline-block;}
.buttom:after{top:100%;left: 50%;right: 50%;border-bottom: 2px solid red;transition: 1s;content: "";position:absolute;}
.buttom:hover:after{left: 0;right: 0;}

.buttom_2{position: relative;display: inline-block;}
.buttom_2:after{top:100%;left: 0;right: 100%;border-bottom: 2px solid red;transition: 1s;content: "";position:absolute;}
.buttom_2:hover:after{right: 0;}

.buttom_3{position: relative;display: inline-block;transition:1s ;}
.buttom_3:before{content: "";position:absolute;background-color:red;left: 0;right:100%;transition:1s ;height: 18px;z-index: -1;}
.buttom_3:hover{color: #fff;}
.buttom_3:hover:before{right: 0;}



CONTACT US
  • 服務(wù)熱線:18664767192
  • 廣州技術(shù)總部:廣州市天河區(qū)天河北路179號尚層國際21層
  • 郵箱:admin@bangju.com
掃一掃加客服微信
主站蜘蛛池模板: 安西县| 江北区| 白水县| 阜宁县| 张家川| 公主岭市| 成都市| 正阳县| 开原市| 安徽省| 黄大仙区| 台北县| 水城县| 密山市| 黔西县| 西乌珠穆沁旗| 苍山县| 家居| 海阳市| 修文县| 克拉玛依市| 南华县| 永年县| 长沙县| 大足县| 乾安县| 敦化市| 漳州市| 兰考县| 梁平县| 沈丘县| 淮滨县| 兴宁市| 淮阳县| 长汀县| 徐水县| 万全县| 尚义县| 廉江市| 都昌县| 张家川|