css实现tab效果仿163邮箱样式的方法-创新互联

这篇文章将为大家详细讲解有关css实现tab效果仿163邮箱样式的方法,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。

让客户满意是我们工作的目标,不断超越客户的期望值来自于我们对这个行业的热爱。我们立志把好的技术通过有效、简单的方式提供给客户,将通过不懈努力成为客户在信息化领域值得信任、有价值的长期合作伙伴,公司提供的服务项目有:国际域名空间、网站空间、营销软件、网站建设、松江网站维护、网站推广。

css实现tab效果仿163邮箱样式的方法

代码如下:




    
    163邮箱tab
    
       *{
            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;
        }
     


    
        
            首页
            通讯录
            应用中心
            收件箱
            写信
        
        
     

关于“css实现tab效果仿163邮箱样式的方法”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,使各位可以学到更多知识,如果觉得文章不错,请把它分享出去让更多的人看到。


网站标题:css实现tab效果仿163邮箱样式的方法-创新互联
文章转载:http://myzitong.com/article/csgiph.html

其他资讯