-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresource.css
50 lines (46 loc) · 924 Bytes
/
resource.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
49
50
*{
background-color: #333;
color: white;
}
.dropbtn {
background-color: #4CAF50;
color: white;
padding: 25px 100px;
font-size: 16px;
border: none;
cursor: pointer;
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown-content a {
color: #f1f1f1;
padding: 20px 85px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {
background-color: #f1f1f1;
color: black;
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown:hover .dropbtn {
background-color: #3e8e41;
}
header {
position: relative;
width: 100%; display: flex;
align-items: center;
justify-content: center;
}