-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnavbar.css
71 lines (61 loc) · 941 Bytes
/
navbar.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
li{
list-style: none;
}
a{
text-decoration: none;
}
#main-nav{
width: 100%;
border: 1px solid red;
height: 200px;
box-shadow: 0 2px 10px 0 rgb(0 0 0 / 15%);
}
#nav-left > a >img{
width: 250px;
}
.nav-bar{
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px;
width: 80%;
margin: auto;
}
/* Nav-bar menu */
.menu{
display: flex;
gap: 1em;
font-size: 18px;
}
.menu li{
padding: 5px 14px;
}
.login-nav{
border: 0.5px solid #ff763f;
border-radius: 3px;
}
.login-nav>a{
color: #ff763f;
}
/* Dropdown */
.product{
position: relative;
}
.dropdown{
padding: 1em 0;
position: absolute;
display: none;
border-radius: 5px;
top: 35px;
}
.dropdown li+li{
margin-top: 10px;
}
.dropdown li{
padding: 0.5em 1em;
width: 8em;
text-align: center;
}
.product:hover .dropdown{
display: block;
}