-
Notifications
You must be signed in to change notification settings - Fork 0
/
mss.html
122 lines (113 loc) · 3.23 KB
/
mss.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
!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Select Your Favorite Store </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 {
position: relative;
width: 300px;
height: 300px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
background-repeat: no-repeat;
background-size: contain;
background-position: center;
margin: 20px;
transition: transform 0.3s;
border-radius: 50%;
overflow: hidden;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
section:hover {
transform: scale(1.05);
}
@keyframes slideIn {
0% {
opacity: 0;
transform: translateY(20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
section:before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
opacity: 0;
transition: opacity 0.3s;
}
section:hover:before {
opacity: 1;
}
section img {
opacity: 0;
animation: slideIn 0.8s forwards;
}
/* Responsive styles */
@media screen and (max-width: 768px) {
section {
width: 200px;
height: 200px;
}
}
</style>
<script>
function goToWebsite(url) {
location.href = url;
}
</script>
</head>
<body>
<header>
<h1>Select Your Favorite Store
To Search SHIRTS For Men
</h1>
</header>
<main>
<section onclick="goToWebsite('https://www.flipkart.com/search?q=shirts%20for%20men&otracker=search&otracker1=search&marketplace=FLIPKART&as-show=on&as=off');" style="background-image: url('flipkart.jpg');">
<img src="mjf.jpg" alt="Flipkart">
</section>
<section onclick="goToWebsite('https://www.amazon.com/s?k=shirts+for+men&crid=20F7XIMODJ6XS&sprefix=shirts+for+men%2Caps%2C435&ref=nb_sb_noss_2');" style="background-image: url('amazon.jpg');">
<img src="mja.jpg" alt="Amazon">
</section>
<section onclick="goToWebsite('https://www.myntra.com/shirts-for-men?rawQuery=shirts%20for%20men');" style="background-image: url('myntra.jpg');">
<img src="mjm.jpg" alt="Myntra">
</section>
<section onclick="goToWebsite('https://www.ajio.com/search/?text=shirts%20for%20men');" style="background-image: url('ajio.jpg');">
<img src="mjaj.jpg" alt="Ajio">
</section>
<section onclick="goToWebsite('https://www.meesho.com/search?q=shirts%20%20for%20men&searchType=manual&searchIdentifier=text_search');" style="background-image: url('meesho.jpg');">
<img src="mjme.jpg" alt="Meesho">
</section>
</main>
</body>
</html>