1 Star 0 Fork 36

Rector/vue-tab

forked from alex qian/vue-tab 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
vue-tabs.css 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
alex qian 提交于 2016-12-03 22:35 . 改用rollup构建dist包
.vue-tabs {
position: relative;
}
.tabs-list-wrapper {
padding: 0px 8px;
}
.tabs-list {
list-style: none;
margin: 0px;
padding: 0px;
overflow: auto;
width: auto;
zoom: 1;
}
.tabs-list > li {
float: left;
padding: 6px 18px;
position: relative;
color: #999;
}
.tabs-list > li.active {
color: #333;
}
.tabs-list > li.active:after {
content: ' ';
position: absolute;
bottom: 0px;
width: 100%;
height: 2px;
background-color: #1ab394;
left: 0px;
}
.tabs-list > li.active .btn-close {
opacity: 1;
}
.tabs-list > li:hover {
cursor: pointer;
}
.tabs-list > li:hover .btn-close {
opacity: 1;
}
.tabs-list > li .btn-close {
position: absolute;
display: inline-block;
opacity: 0;
top: 2px;
right: 0px;
line-height: 12px;
width: 14px;
height: 14px;
border-radius: 14px;
font-size: 12px;
color: #999;
transition: all 0.2s ease;
}
.tabs-list > li .btn-close:hover {
color: #333;
transform: scale(1.5);
cursor: pointer;
}
.tabs-content-wrapper {
position: relative;
}
.tabs-content-wrapper .tabs-content {
display: none;
}
.tabs-content-wrapper .tabs-content.active {
display: block;
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/rector/vue-tab.git
[email protected]:rector/vue-tab.git
rector
vue-tab
vue-tab
master

搜索帮助