-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtabs.css
More file actions
47 lines (40 loc) · 864 Bytes
/
tabs.css
File metadata and controls
47 lines (40 loc) · 864 Bytes
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
body {font-family: Arial;}
/* Style the tab */
.tab {
overflow: hidden;
border: 1px solid #FFEBCD;
background-color: #FFEBCD;
}
/* Style the buttons inside the tab */
.tab button {
background-color: #FAEBD7;
float: left;
border: 3px coral double;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
font-size: 17px;
}
/* Change background color of buttons on hover */
.tab button:hover {
background-color: #DEB887;
}
/* Create an active/current tablink class */
.tab button.active {
background-color: coral;
}
/* Style the tab content */
.tabcontent {
display: none;
padding: 6px 12px;
border: 1px solid #FFEBCD;
border-top: none;
}
/* Style the close button */
.topright {
float: right;
cursor: pointer;
font-size: 28px;
}
.topright:hover {color: red;}