-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenu.html
133 lines (131 loc) · 2.96 KB
/
menu.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!DOCTYPE html>
<html>
<head>
<title>Repairs</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<style>
#background
{
height: 1200px;
width: 100%;
background-color: grey;
}
#menu
{
z-index: 5;
top: 0px;
position: fixed;
background-attachment: fixed;
margin-bottom: 80px;
box-shadow: 10 4px 8px 10 rgba(0,0,0,0.2);
}
.sidenav
{
height: 100%;
width: 0;
position: fixed;
z-index: 1;
top:0;
left: 0;
background-color:#111;
overflow-x:hidden;
transition: 0.5s;
padding-top: 60px;
}
.sidenav a
{
padding: 8px 8px 8px 32px;
text-decoration: none;
font-size: 25px;
color: #818181;
display: block;
transition: 0.3s;
}
.sidenav a:hover
{
position: relative;
top: 0;
right: 25px;
font-size: 36px;
margin-left: 50px;
}
@media screen and (max-height: 450px)
{
.sidenav{padding-top: 15px;}
.sidenav a{font-size: 18px;}
}
ul
{
list-style-type:none;
margin:0;
padding:0;
overflow:hidden;
background-color:white;
top: -60px;
margin-right: 1px;
}
li{
float:right;
border:1px solid #8B0000;
}
li a{
display:block;
color:black;
text-align:center;
padding:14px 16px;
text-decoration:none;
}
li a:hover
{
background-color:#FFE4C4;
}
#background2
{
height: 1500px;
width: 80%;
background-color: #E6E6FA;
position: relative;
bottom: 486px;
margin-left: 130px;
}
</style>
</head>
<body>
<div id="background">
<div id="menu" style="width:1200px;height:80px;background-color: white;position: relative;margin-left: 130px;">
<div id="mySlidenav" class="sidenav" style="background-attachment: fixed;">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
<a href="#"><i class="material-icons">local_airport</i>Air Tickets</a>
<a href="#"><i class="material-icons"></i>Apply for Loans</a>
<a href="#"><i class="material-icons">directions_car</i>Auto care</a>
<a href="#"><i class="material-icons"></i>Book Hotel</a>
<a href="#"><i class="material-icons"></i>Books</a>
</div>
<span style="font-size: 30px;cursor: pointer; background-attachment: fixed;position: relative;top:15px;
" onclick="openNav()">☰Home</span>
<form action="">
<input type="text" placeholder="Search.." name="search" style="position: relative;margin-left: 120px;
top: -20px;width:250px;height: 20px;">
<button type="submit" style="position: relative;margin-left: -5px;top: -15px;height: 25px;width: 15px;"><i class="fa fa-search"></i></button>
</form>
<ul style=" position: relative; width: 26%; float: right;">
<li><a href="login.php">Login</a></li>
<li><a href="Register.php">Register</a></li>
<li><a href="#Offers">Offers</a></li>
<li><a href="#home">Home</a></li>
</ul>
</div>
<div id="background2"></div>
</div>
<script type="text/javascript">
function openNav()
{
document.getElementById("mySlidenav").style.width="250px";
}
function closeNav()
{
document.getElementById("mySlidenav").style.width="0";
}
</script>
</body>
</html>