CSS .nav-tabs

1 개요[ | ]

CSS .nav-tabs
CSS .z-tabs
<style>
body {
  background: #fff;
}
.z-tabs {
  display: inline-block;
  border-bottom: 1px solid #ddd;
  width: 100%;
  padding: 0;
}
.z-tabs>li {
  display: inline;
  float: left;
  margin-bottom: 8px;
}
.z-tabs>li>a {
  text-decoration: none;
  padding: .5em 1em;
  border-radius: 4px 4px 0 0;
  background: #fff;
  color: #37b;
}
.z-tabs>li>a:hover {
  background: #ddd;
}
.z-tabs>li.active>a {
  border: 1px solid #ddd;
  border-bottom-color: transparent;
  cursor: default;
  color: #000;
}
.z-tabs>li.active>a:hover {
  background: #fff;
}
</style>

<ul class="z-tabs">
  <li><a href="#">하나</a></li>
  <li class="active"><a href="#"></a></li>
  <li><a href="#"></a></li>
  <li><a href="#"></a></li>
</ul>

안녕하세요

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}