按钮效果

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style>
.reg{ font-family:"Microsoft YaHei"; color:#666666; font-size:16px; line-height:30px; margin-top:10px; }
.reg a{ display:block; color:#fff; font-size:20px; width:160px; height:35px; text-align:center; margin:5px auto; background:#2FA2DF;border-radius:3px; line-height:35px;box-shadow:2px 2px 6px #BCBCBC;text-decoration:none }
.reg a:hover{background:#2796D1; text-decoration:none}

</style>
</head>

<body>
<div class="reg"><a href="#">注册新用户</a></div>
</body>
</html>

posted @ 2013-09-16 10:01  独行客  阅读(197)  评论(0编辑  收藏  举报