-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle3.css
More file actions
76 lines (62 loc) · 1.06 KB
/
style3.css
File metadata and controls
76 lines (62 loc) · 1.06 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
.Container{
display: flex;
flex-direction: row;
}
.item {
flex: 1;
padding: 20px;
margin: 5px;
background-color: lightblue;
border: 1px solid darkblue;
text-align: center;
}
.item img {
width: 100px;
height: 100px;
display: block;
margin: 0 auto 10px;
}
.navbar {
display: flex;
background-color: #f4f4f4;
padding: 10px;
}
.navbar-item {
position: relative;
margin-right: 20px;
}
.navbar-item a {
text-decoration: none;
color: #333;
display: block;
}
.navbar-item a:hover {
background-color: #bdbbbb;
}
.dropdown-menu {
display: none;
position: absolute;
top: 107%;
background-color: #f4f4f4;
}
.dropdown-menu a {
padding: 10px 15px;
display: block;
color: #333;
text-decoration: none;
}
.dropdown-menu a:hover {
background-color: #bdbbbb;
}
.dropdown:hover .dropdown-menu {
display: block;
}
.navbar:hover {
background-color: #333;
}
.navbar:hover .navbar-item a {
color: #fff;
}
.navbar:hover .dropdown-menu a {
color: #333;
}