发新话题
打印

纯DIV CSS的tab 菜单

纯DIV CSS的tab 菜单

纯DIV CSS的tab 菜单下载


TAB切换菜单实例

只需拷贝以下代码即可使用
复制内容到剪贴板
代码:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>css实现tab切换特效,divcss5整理收集,站长特效欢迎您。</title>
<style type="text/css">
        body{margin:0; font-size:12px; background:#666;}
        #box{width:400px; height:300px; margin:100px auto 0;}
        #tab_nav{margin:0; padding:0; height:25px; line-height:24px;}
        #tab_nav li{float:left; margin:0 3px; list-style:none; border:1px solid #999; border-bottom:none; height:24px; width:60px; text-align:center; background:#FFF;}
        a{font:bold 14px/24px "微软雅黑", Verdana, Arial, Helvetica, sans-serif; color:green; text-decoration:none;}
        a:hover{color:red;}
        #tab_content{width:398px; height:273px; border:1px solid #999; font:bold 22px/22px "微软雅黑", Verdana, Arial, Helvetica, sans-serif; text-align:center; background:#FFF; overflow:hidden;}
        #t_1,#t_2,#t_3{width:100%; height:273px; float:left;}
</style>
</head>
<body>
<a href="http:/www.divcss5.com" style="color:#FFF; font-size:18px;">div+css</a>  <a href="http:/www.divcss5.com" style="color:#FFF; font-size:18px;">css</a><hr>
<div id="box">
        <ul id="tab_nav">
            <li><a href="#t_1">tab_1</a></li>
        <li><a href="#t_2">tab_2</a></li>
        <li><a href="#t_3">tab_3</a></li>
    </ul>
    <div id="tab_content">
            <div id="t_1">DIVCSS5特效一号<br>
<a href="http://www.divcss5.com/">www.divcss5.com</a></div>
        <div id="t_2">DIVCSS5特效二号<a href="http://www.divcss5.com/">divcss5</a></div>
        <div id="t_3">DIVCSS5特效三号<a href="http://www.divcss5.com/">css</a></div>
    </div>
</div>
</body>
</html>

TOP

小妹手上有几个这样的网站,举报了能的多少钱! 挂马网站 http://yonex.cntvcntv.com/

TOP

dsflpisjflsjlksdjflsjfsdfsdfsdff

TOP

发新话题