一个超酷按钮CSS3 返回按钮

时间:2015-05-23 15:32:53   收藏:0   阅读:1516

<!doctype html>
<HTML>
<head>
<title>一个按钮CSS3 返回按钮</title>
<style>
.kele:before{ position: absolute; content: " "; border: transparent 14px solid; border-width: 13px 8px ; border-right-color:
#CCC; top: 1px; left: -16px; height: 0; width: 0; }
.kele{ position: relative; width: 40px; height: 28px; background: #EEE; border-radius: 5px; margin: 30px; text-align: center;
line-height: 28px; color: #999; font-size: 14px; border: 1px solid #CCC; }
.kele:after{ position: absolute; content: " "; border: transparent 13px solid; border-width: 12px 8px; border-right-color:
#EEE; top: 2px; left: -15px; height: 0; width: 0; }
</style>
</head>
<body>
<div>http://www.999jiujiu.com/</div>
<div class="kele">返回</div>
</body>
</html>

评论(0)
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!