-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPage.html
193 lines (183 loc) · 7.21 KB
/
Page.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
181
182
183
184
185
186
187
188
189
190
191
192
193
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Clothing Store</title>
<link rel="stylesheet" href="stylesShop.css">
<style>
body {
margin: 0;
font-family: Arial, sans-serif;
background-color: #f5f5f5;
}
header {
position: fixed;
top: 0;
left: 0;
width: 100%;
background-color: rgba(51, 51, 51, 0.5); /* Transparent background color */
color: #fff;
padding: 20px 30px;
text-align: left;
z-index: 1000;
display: flex;
justify-content: space-between; /* Adjust the spacing between tabs */
align-items: center;
backdrop-filter: blur(10px); /* Apply blur effect */
}
.header-text {
flex-grow: 7; /* Allow header text to grow and occupy available space */
}
nav {
flex-grow: 1; /* Allow navigation to grow and occupy available space */
display: flex;
justify-content: center; /* Center the tabs horizontally */
}
.header-tab {
margin-right: 80px; /* Adjust spacing between tabs */
text-decoration: none;
color: #fff;
font-size: 19px;
transition: color 0.3s ease;
}
.header-tab:hover {
color: #91a1ff; /* Change color on hover */
}
.container {
max-width: 1010px;
margin: 0 auto;
padding: 794px 80px 40px; /* Adjust padding to accommodate header */
text-align: center;
}
.picture-frames {
display: grid;
grid-template-columns: repeat(2, 1fr); /* Display in columns of two */
gap: 70px;
justify-content: center;
}
.picture-frame {
background-color: #353535;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 8px #91a1ff, 0 0 30px rgba(145, 161, 255, 0.8); /* Modified box-shadow for glow effect */
transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease; /* Added box-shadow transition */
cursor: pointer;
width: 100%;
max-width: 300px;
margin: auto;
animation: glow 6s infinite alternate; /* Added animation for glow effect */
}
.picture-frame:hover {
transform: translateY(-5px);
background-color: #91a1ff; /* Change background color on hover */
box-shadow: 0 8px 16px #91a1ff, 0 0 50px rgba(145, 161, 255, 1); /* Increase glow on hover */
}
.picture {
width: 100%;
height: 200px;
object-fit: cover;
}
.picture-info {
padding: 20px;
}
.picture-title {
font-size: 20px;
margin-bottom: 10px;
}
.picture-description {
font-size: 14px;
color: #ffffff;
}
.shop-now-button {
padding: 10px 20px;
margin-top: 50px; /* Adjust the margin-top value as needed */
background-color: #333;
box-shadow: 0 4px 8px #91a1ff;
color: #fff;
border: none;
border-radius: 10px;
font-size: 18px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.shop-now-button:hover {
background-color: #91a1ff;
}
/* Added animation for glow effect */
@keyframes glow {
from {
box-shadow: 0 4px 8px #91a1ff, 0 0 30px rgba(145, 161, 255, 0.8);
}
to {
box-shadow: 0 4px 8px #91a1ff, 0 0 50px rgba(145, 161, 255, 1);
}
}
</style>
</head>
<body>
<header>
<div class="header-text">
<h2>Zethon</h2>
</div>
<nav>
<a href="#" class="header-tab">Tab 1</a>
<a href="#" class="header-tab">Tab 2</a>
<a href="#" class="header-tab">Tab 3</a>
<a href="#" class="header-tab">Tab 4</a>
<a href="#" class="header-tab">Tab 5</a>
</nav>
</header>
<div class="container">
<div class="picture-frames">
<!-- Sample picture frames, replace with actual product images -->
<div class="picture-frame">
<img class="picture" src="https://via.placeholder.com/400x200" alt="Product 1">
<div class="picture-info">
<h2 class="picture-title">Product Title</h2>
<p class="picture-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam scelerisque nunc eu convallis posuere.</p>
</div>
</div>
<div class="picture-frame">
<img class="picture" src="https://via.placeholder.com/400x200" alt="Product 2">
<div class="picture-info">
<h2 class="picture-title">Product Title</h2>
<p class="picture-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam scelerisque nunc eu convallis posuere.</p>
</div>
</div>
<div class="picture-frame">
<img class="picture" src="https://via.placeholder.com/400x200" alt="Product 2">
<div class="picture-info">
<h2 class="picture-title">Product Title</h2>
<p class="picture-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam scelerisque nunc eu convallis posuere.</p>
</div>
</div>
<div class="picture-frame">
<img class="picture" src="https://via.placeholder.com/400x200" alt="Product 2">
<div class="picture-info">
<h2 class="picture-title">Product Title</h2>
<p class="picture-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam scelerisque nunc eu convallis posuere.</p>
</div>
</div>
<div class="picture-frame">
<img class="picture" src="https://via.placeholder.com/400x200" alt="Product 2">
<div class="picture-info">
<h2 class="picture-title">Product Title</h2>
<p class="picture-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam scelerisque nunc eu convallis posuere.</p>
</div>
</div>
<div class="picture-frame">
<img class="picture" src="https://via.placeholder.com/400x200" alt="Product 2">
<div class="picture-info">
<h2 class="picture-title">Product Title</h2>
<p class="picture-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam scelerisque nunc eu convallis posuere.</p>
</div>
</div>
<!-- Add more picture frames as needed -->
</div>
<button class="shop-now-button" onclick="location.href='yes.html';">Shop Now</button>
</div>
<footer>
</footer>
</body>
</html>