-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnavbarcss.css
More file actions
83 lines (65 loc) · 1.37 KB
/
Copy pathnavbarcss.css
File metadata and controls
83 lines (65 loc) · 1.37 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
77
78
79
80
81
82
83
body{
background-image: url(bg3.png);
}
.navbar {
background-color: transparent;
}
.navbar {
list-style-type: none;
margin: 3px;
padding: 40px;
text-align: center;
}
.navbar li {
display: inline-block;
margin: 0 10px;
}
.navbar li a {
text-decoration: none;
font-family: "sans-serif";
font-size: 50px;
color: white;
}
.dropdown {
position: relative;
display: inline-block;
margin-right: 20px;
}
.dropbtn {
background-color: transparent;
color: white;
padding: 10px;
border: none;
cursor: pointer;
font-size: 16px;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
border-radius: 8px;
z-index: 1;
border-left: 6px;
}
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {
color: rgb(45, 176, 219);
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown-content hr {
margin: 0;
border: none;
height: 8px;
border-bottom-right-radius: 8px;
border-bottom-left-radius: 8px;
background-image: linear-gradient(to right, rgb(139 92 246),rgb(96 165 250));
width: 100%;
}