-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.css
94 lines (79 loc) · 1.4 KB
/
home.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
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
body {
width: 1200px;
}
.dropdown {
position: relative;
display: inline-block;
width: 100%;
}
.dropdown-element {
display: flex;
justify-content: space-between;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 120px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
width: 100%;
}
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.item:hover .dropdown-content {
display: block;
}
/* */
.dropdown-content-elements {
display: flex;
justify-content: space-between;
width: 100%;
}
/* */
.item:hover .dropdown-content-elements {
display: flex;
justify-content: space-between;
width: 100%;
}
/* nested item */
.nested-item1-content {
display: none;
}
/* .item1-button{
position: relative;
} */
.nested-item1 {
position: relative;
width: 295px;
display: block;
padding: 5px;
/* margin: 5px 5px; */
/* border: 1px solid red; */
}
.nested-item1:hover {
background-color: rgb(166, 165, 165);
}
.nested-item1-content {
position: absolute;
background-color: rgb(212, 209, 209);
border-radius: 5px;
top: 0px;
left: 100px;
z-index: 10;
margin: 0;
padding: 5px 0;
list-style: none;
}
.nested-item1:hover .nested-item1-content {
display: block;
}
.single-item:hover {
background-color: gray;
padding: 5px;
border-radius: 5px;
}