帝王谷资源网 Design By www.wdxyy.com
css实现tab效果仿163邮箱样式


复制代码代码如下:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
<title>163邮箱tab</title>
<style type="text/css">
*{
margin: 0px;
padding: 0px;
}
.dvTab
{
font-family: 'Microsoft Yahei',verdana;
font-size:14px;
height: 36px;
position: absolute;
left: 0px;
width: 100%;
top: 52px;
}
.menu
{
margin-left:12px;
color: rgb(106, 106, 106);
}
.tab
{
list-style-type:none;
float:left;
margin-right: -1px;
border:solid 1px #B9C4CF;
width:91px;
background: -moz-linear-gradient(center top , rgb(254, 255, 255), rgb(218, 232, 246)) repeat scroll 0% 0% transparent;
background-color:#EBF3FA;
height:23px;
line-height:23px;
text-align: center;
padding: 5px 20px 4px 8px;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
text-overflow: ellipsis;
}
.dv
{
width: 100%;
height:4px;
line-height:4px;
background-color:#135AA4;
position:absolute;
left:0;
top:33px;
}
.activeTab
{
color:#fff;
border-color:#135AA4;
background-color:#135AA4;
background: -moz-linear-gradient(center top , rgb(25, 111, 198), rgb(19, 91, 165)) repeat scroll 0% 0% transparent;
}
</style>
</head>
<body>
<div class="dvTab">
<ul class="menu">
<li class="tab">首页</li>
<li class="tab">通讯录</li>
<li class="tab activeTab">应用中心</li>
<li class="tab">收件箱</li>
<li class="tab">写信</li>
</ul>
<div class="dv"></div>
</div>
</body>
</html>

标签:
css实现tab,tab效果,163邮箱

帝王谷资源网 Design By www.wdxyy.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
帝王谷资源网 Design By www.wdxyy.com