forked from Ovski4/jekyll-tabs
-
Notifications
You must be signed in to change notification settings - Fork 2
/
tabs.css
48 lines (42 loc) · 765 Bytes
/
tabs.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
.tab {
display: flex;
flex-wrap: wrap;
margin-left: -20px;
padding: 0;
list-style: none;
position: relative;
}
.tab > * {
flex: none;
padding-left: 20px;
position: relative;
}
.tab > * > a {
display: block;
text-align: center;
padding: 9px 20px;
color: #999;
border-bottom: 2px solid transparent;
border-bottom-color: transparent;
font-size: 12px;
text-transform: uppercase;
transition: color .1s ease-in-out;
line-height: 20px;
}
.tab > .active > a {
color:#222;
border-color: #1e87f0;
}
.tab li a {
text-decoration: none;
cursor: pointer;
}
.tab-content{
padding: 0;
}
.tab-content li {
display: none;
}
.tab-content li.active {
display: initial;
}