layui社区源码笔记之fly-tab

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
.fly-tab span a {
height: 36px;
line-height: 36px;
padding: 0 20px;
border-right: 1px solid #ddd;
font-size: 14px;
background-color: #fff;
}
.fly-tab span, .fly-tab span a {
display: inline-block;
vertical-align: top;
}
.fly-tab span {
border: 1px solid #ddd;
font-size: 0;
}

a{
text-decoration: none;
color: #333;
}

</style>
</head>
<body>
<div class="fly-tab">
<span>
<a href="jie/index.html">全部</a>
<a href="jie/index.html">未结帖</a>
<a href="jie/index.html">已采纳</a>
<a href="jie/index.html">精帖</a>
<a href="user/index.html">我的帖</a>
</span>


</div>

</body>
</html>


效果


posted @ 2017-03-27 20:24  青春无语  阅读(1090)  评论(0编辑  收藏  举报