-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
156 lines (151 loc) · 5.64 KB
/
index.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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SELL</title>
<link rel="stylesheet" type="text/css" href="navbarstylesheet.css">
<style>
body{
margin: 0;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
background-image: url("car-sell.jpg");
}
#sidebar {
height: 100%;
width: 0;
position: fixed;
z-index: 1;
top:0;
left: 0;
background-color: rgb(66, 9, 66);
overflow-x: hidden;
transition: width 0.5s;
padding-top: 16px;
}
#sidebar a {
padding: 8px 4px 8px 32px;
text-decoration: none;
font-size: medium;
font-family: 'Times New Roman', Times, serif;
color: black;
display: block;
transition: color 0.9s, transform 0.9s;
background-color: whitesmoke;
}
#sidebar a:hover {
color: purple;
transform: scale(1.1);
}
#main{
transition: margin-left 0.5s;
padding-top: 10px;
text-overflow: clip;
position: relative;
}
#main:hover {
transform:scale(1.1);
transform-origin:left ;
transition: transform 0.60s ease;
}
#h4{
text-decoration: none; /* or text-decoration: solid; */
font-size: large;
font-weight: bold;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.input-field, .school-field {
height: 40px;
width: 250px;
border-width: 4px;
font-size: 16px;
color: var(--blackText);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
background: var(--white);
padding: 0 0 0 16px;
border-style: solid;
margin-left: 108px;
transition: transform 0.30s;
position: relative;
}
.input-field:hover, .school-field:hover {
transform: scale(1.1);
}
</style>
</head>
<body>
<nav>
<ul class="navbar">
<li><a href="WEBTECHPROJECT.html">HOME</a></li>
<select class="school-field">
<option value="">Select your school ..</option>
<option value="1"> Computer Science</option>
<option value="2"> School of Engineering</option>
<option value="3"> School of Health Sciences</option>
<option value="4"> School of Law</option>
<option value="5"> School of Business</option>
<option value="6"> School of Modern Media</option>
<option value="7"> School of Design</option>
<option value="8"> School of Liberal Studies</option>
<input class="input-field" type="text" placeholder="Search for vehicles..">
</ul>
<div id="img1">
<img src="search.png">
</div>
<div id="img">
<li><a href="login.html"><img src="loginicon.png" ></a></li>
</div>
</nav>
<div id="sidebar">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()"><h1><<<</h1></a>
<a href="login.html"><b> WELCOME</b></a>
<hr color="rgb(66, 9, 66)">
<a href="#"><b>TRENDING</b></a>
<a href="#">Latest Sellers</a>
<a href="#">Offers</a>
<hr color="rgb(66, 9, 66)">
<a href="#"><b>SHOP NOW</b></a>
<a href="#">SCOOTY</a>
<a href="#">MOTORBIKE</a>
<a href="#">CAR</a>
<a href="#">BICYCLE</a>
<hr color="rgb(66, 9, 66)">
<a href="#"><b>ACCOUNT</b></a>
<a href="#">My Orders</a>
<a href="#">My Classifieds</a>
<a href="#">Cart</a>
<a href="#">Wishlist</a>
<a href="#">CHAT</a>
<a href="#">Log Out</a>
</div>
<div id="main">
<button class="openbtn" onclick="openNav()"><h4>☰ ALL</h4></button>
</div>
<script>
function openNav() {
document.getElementById("sidebar").style.width = "300px";
document.getElementById("main").style.marginLeft = "300px";
}
function closeNav() {
document.getElementById("sidebar").style.width = "0";
document.getElementById("main").style.marginLeft = "0";
}
</script>
<div class="footer">
<div id="button"></div>
<div id="container">
<div id="cont">
<div class="footer_center">
<p>
Help<br>
About us<br>
Contact us 7498267432<br>
Email-Id project@gmail.com<br>
</p>
</div>
</div>
</div>
</div>
</body>
</html>