-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmen.html
180 lines (149 loc) · 5.01 KB
/
men.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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=h1
, initial-scale=1.0">
<title>Men-Perfume</title>
<style>
.img{
width: 200px;
margin-left: 60px;
margin-top: 50px;
}
#container {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
margin-left: 30px;
}
.brand{
color:black;
margin-left:100px;
margin-top: 0cm;
}
.description{
color: rgb(69, 66, 66);
margin-left:50px;
font-size: 90%;
margin-top: 0cm;
}
.price
{
margin-left:100px;
margin-top: 0cm;
}
.promotion{
font-size: smaller;
margin-right: 200px;
width: auto;
font-size: 70%;
}
#sortBy{
margin-left: 80%;
margin-top: 30px;
}
@media all and (min-width: 80px) and (max-width: 400px) {
#container {
grid-template-columns: repeat(1, 1fr);
}
}
/* -----------------**********---------- */
.perfume-filter{
margin-top: 10%;
}
.jay{
font-size:40px;
}#filterbrand{border: solid black;
background-color: black;
color: white;
width: 170px;
height: 35px;
}
#filter-price{border: solid black;
background-color: black;
color: white;
width: 170px;
height: 35px;
}
#filter-size{border: solid black;
background-color: black;
color: white;
width: 170px;
height: 35px;
}
#filterpromotion{border: solid black;
background-color: black;
color: white;
width: 170px;
height: 35px;
}
h4{
margin-bottom: 5px;
}
</style>
</head>
<body>
<div id="sortBy">
<label> <b> SORT : </b> </label>
<select id="sort" onchange="numsort()">
<option value="">Popularity</option>
<option value="high">Price - High to Low</option>
<option value="low">Price - Low to High</option>
</select>
</div>
<div id="container">
<div class="perfume-filter">
<div class="perfume-filter">
<div class=" perfume-div">
<h4>FILTER BY</h4>
<div class="jay">
<select name="" id="filterbrand" onchange="filterByBrands()">
<option value="">BRANDS</option>
<option value="Issey Miyake">Issey Miyake</option>
<option value="Carolina Herrera">Carolina Herrera</option>
<option value="Paco Rabanne">Paco Rabanne</option>
<option value="GUERLAIN">GUERLAIN</option>
<option value="Salvatore Ferragamo">Salvatore Ferragamo</option>
<option value="Dunhill">Dunhill</option>
</select>
<br>
<select id="filter-price" onchange="filterByprice()">
<option value="a">PRICE</option>
<option value="20">Below Rs.4999 (76)</option>
<option value="40">Rs.5000 - Rs.5999 (105)</option>
<option value="50">Rs.6000 - Rs.6999 (87)</option>
<option value="40">Rs.7000 - Rs.8499 (109)</option>
<option value="50">Above Rs.8500 (101)</option>
</select>
<br>
<select name="" id="filter-size" onchange="filterBysize()">
<option value="">SIZE</option>
<option value="size1">10 ML</option>
<option value="size2">100 ML</option>
<option value="size3">100 ML</option>
<option value="size4">100 ML</option>
<option value="size5">125 ML</option>
<option value="size6">150 ML</option>
</select>
<br>
<select name="" id="filter-size" onchange="filterBysize()">
<option>COLOR</option>
<option>No colour (322)</option>
<option>Na (1)</option>
</select>
<br>
<select name="" id="filterpromotion" onchange="filterBypromotion()">
<option value="">PROMOTION</option>
<option value="promotion1">BUY WORTH 4500 FROM SEPHORA </option>
<option value="promotion5">Flat 10% Off</option>
</select>
</div>
</div>
</div>
</div>
<!-- ----------------------MenData---------------------------------- -->
</body>
</html>
<script src="./scripts/menperfumedata.js"></script>