-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnavbar.html
101 lines (101 loc) · 2.23 KB
/
navbar.html
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
95
96
97
98
99
100
101
<style>
body {
background: rgb(0,127,0);
background: linear-gradient(90deg, rgba(0,127,0,1) 0%, rgba(0,255,0,1) 50%, rgba(0,127,0,1) 100%);
font-family: sans-serif;
}
h1, h2, h3, p, li {
color: white;
font-family: sans-serif;
}
.button {
background-color: #4CAF50; /* Green */
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
}
nav {
background-color: black;
height: 64px;
}
.navbar {
background-color: black;
color: white;
height: 64px;
}
.dropbtn {
background-color: black;
color: white;
padding: 16px;
font-size: 16px;
border: none;
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {background-color: #ddd;}
.dropdown:hover .dropdown-content {display: block;}
.dropdown:hover .dropbtn {background-color: #f1f1f1; color: black;}
iframe {
height: 50vh;
width: 100%
}
img, div {
display: inline-block;
float: left;
}
</style>
<nav>
<img height="60px" width="60px" src="logo.png">
<div class="dropdown">
<button class="dropbtn"><b>Grass Bandits</b></button>
<div class="dropdown-content">
</div>
</div>
<div class="dropdown">
<a href="index.html"><button class="dropbtn" href="#"><b>Home</b></button></a>
<div class="dropdown-content">
</div>
</div>
<div class="dropdown">
<button class="dropbtn"><b>Services<b></button>
<div class="dropdown-content">
<a href="lawnmowing.html">Lawnmowing</a>
<a href="gardening.html">Gardening</a>
<a href="trimming.html">Trimming</a>
<a href="blowing.html">Blowing</a>
<a href="weeding.html">Weeding</a>
<a href="watering.html">Watering</a>
<a href="package.html">Full Package</a>
</div>
</div>
<div class="dropdown">
<a href="stands.html"><button class="dropbtn" href="#"><b>Stands</b></button></a>
<div class="dropdown-content">
</div>
</div>
<div class="dropdown">
<a href="about.html"><button class="dropbtn" href="#"><b>About</b></button></a>
<div class="dropdown-content">
</div>
</div>
</nav>