-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmen.html
107 lines (95 loc) · 2.18 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Men's Fashion</title>
<style>
/* Common styles */
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
header {
background-color: #333;
padding: 20px;
color: #fff;
text-align: center;
}
main {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
min-height: calc(100vh - 80px);
}
section {
flex-basis: 33.33%;
height: 300px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
transition: transform 0.3s ease;
}
section:hover {
transform: scale(1.1);
}
#jackets {
background-image: url("jbg.jpg");
}
#tshirts {
background-image: url("tbg.jpg");
}
#shirts {
background-image: url("sbg.jpg");
}
#pants {
background-image: url("pbg.jpg");
}
#accessories {
background-image: url("abg.jpg");
}
h2 {
font-size: 24px;
margin-bottom: 10px;
}
/* Responsive styles */
@media screen and (max-width: 768px) {
section {
flex-basis: 100%;
height: 200px;
}
h2 {
font-size: 18px;
}
}
</style>
</head>
<body>
<header>
<h1>Men's Fashion</h1>
</header>
<main>
<section id="jackets" onclick="location.href='msj.html';">
<h2>Jackets</h2>
</section>
<section id="tshirts" onclick="location.href='mst.html';">
<h2>T-Shirts</h2>
</section>
<section id="shirts" onclick="location.href='mss.html';">
<h2>Shirts</h2>
</section>
<section id="pants" onclick="location.href='msp.html';">
<h2>Pants</h2>
</section>
<section id="accessories" onclick="location.href='msa.html';">
<h2>Accessories</h2>
</section>
</main>
</body>
</html>