-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdropdown.css
More file actions
54 lines (46 loc) · 771 Bytes
/
dropdown.css
File metadata and controls
54 lines (46 loc) · 771 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
48
49
50
51
52
53
54
.dropdown {
margin-left: 10px;
}
a,
.dropbtn {
display: inline-block;
color: #fff;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
.dropbtn > i {
font-size: 35px;
}
.dropbtn > p {
font-size: 16px;
}
a:hover,
.dropdown:hover .dropbtn {
color: #ffdf00;
}
.dropdown {
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: grey;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
}
.dropdown-content div {
color: #fff;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: center;
cursor: pointer;
}
.dropdown-content div:hover {
background-color: #5d5d5d;
}
.dropdown:hover .dropdown-content {
display: block;
}