Html
    Css
    Js

    
                        
.fl {
	float:left;
}
.clear {
	clear:both;
}
.tabBar {
	width:100%;
	padding:9px 0;
	height:36px;
}
.tabBTN {
	width:43.5%;
	height:36px;
	line-height:36px;
	text-align:center;
	border:1px solid #212121;
	color:#212121;
	margin-left:2.8%;
	border-radius:8px;
	font-size:16px;
}
.tab_sel {
	color:#fff;
	background:#f67c63;
	border:solid 1px #f67c63;
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:1.11.3
 立即下载

简易tab切换

0