-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnavigation1.html
81 lines (70 loc) · 1.41 KB
/
navigation1.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
<!DOCTYPE html>
<head>
<style>
body {
margin: 0;
font-family: Arial, Helvetica, sans-serif;
}
.topnav {
overflow: hidden;
background-color: #333;
}
.topnav a {
float: left;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.topnav a:hover {
background-color: #ddd;
color: black;
}
.topnav a.active {
background-color: #4CAF50;
color: white;
}
.topnav input[type=text] {
float: right;
padding: 6px;
border: none;
margin-top: 8px;
margin-right: 16px;
font-size: 15px;
width: 500;
}
.topnav button {
float: right;
padding: 18px 15px;
margin-top: 8px;
margin-right: 8px;
background: #ddd;
font-size: 17px;
border: none;
cursor: pointer;
}
}
</style>
</head>
<body>
<div class="topnav" id="myTopnav">
<a href='index.php'>Home</a>
<a href='contact.php'>Contact Us</a>
<a href='signup.php'>Sign Up</a>
<a href='login.php'>Login</a>
<!--<button type="submit"><i class="fa fa-search" value=""></i></button><input type="text" placeholder="Search.."> SEARCH BAR IN NAVIGATION
<!-- <a href="javascript:void(0);" style="font-size:15px;" class="icon" onclick="myFunction()">☰</a> -->
</div>
<script>
function myFunction() {
var x = document.getElementById("myTopnav");
if (x.className === "topnav") {
x.className += " responsive";
} else {
x.className = "topnav";
}
}
</script>
</body>
<html>