tab.css 858 Bytes
.m-tab {
  width: 100%;
  background-color: #FFF;
  font-size: 14px;
  color: #999;
  border-width: 1px 0;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0 15px;
}
.m-tab a {
  color: #999;
}
.m-tab li {
  float: left;
  min-width: 32px;
  padding-right: 18px;
  line-height: 40px;
  text-align: center;
  position: relative;
}
.m-tab li:last-child {
  padding-right: 0;
}
.m-tab .on a {
  color: #2caa3f;
  display: block;
  position: relative;
}
.m-tab .on a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #23AC38;
}
.m-tab.tab-col-2 li {
  width: 50% !important;
}
.m-tab.tab-col-3 li {
  width: 33.33% !important;
  padding-right: 0 ;
}
.m-tab.tab-col-4 li {
  padding-right: 0;
  width: 25% !important;
}
.m-tab.tab-col-5 li {
  padding-right: 0;
  width: 20% !important;
}