-
Notifications
You must be signed in to change notification settings - Fork 2
/
toys.html
142 lines (124 loc) · 4.46 KB
/
toys.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>EasyShop.com - Toys</title>
<style>
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: #f5f5f5;
color: #333;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
h1 {
color: #333;
text-align: center;
margin-bottom: 20px;
}
.product-list {
list-style: none;
padding: 0;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
.product-item {
margin: 20px;
border: 1px solid #ddd;
background-color: #fff;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
transition: transform 0.3s, box-shadow 0.3s;
width: 300px;
display: flex;
flex-direction: column;
}
.product-item:hover {
transform: translateY(-5px);
box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
.product-info {
padding: 15px;
flex: 1;
}
.product-image {
width: 100%;
height: 200px; /* Set your preferred height */
background-size: cover;
background-position: center;
border-bottom: 1px solid #ddd;
}
.view-more {
background-color: #ffcc00;
padding: 10px;
text-align: center;
color: #333;
text-decoration: none;
display: block;
margin-top: 10px;
border-radius: 0 0 10px 10px;
transition: background-color 0.3s;
}
.view-more:hover {
background-color: #555;
color: #fff;
}
</style>
</head>
<body>
<div class="container">
<h1>Toy Collection</h1>
<ul class="product-list">
<!-- Toy Items -->
<li class="product-item">
<div class="product-image" style="background-image: url('toy1.jpg');"></div>
<div class="product-info">
<h2>Fun Play Set</h2>
<p>Description of the fun play set. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
<a href="playset.html" class="view-more">View Item</a>
</li>
<li class="product-item">
<div class="product-image" style="background-image: url('toy2.jpg');"></div>
<div class="product-info">
<h2>Creative Building Blocks</h2>
<p>Description of the building blocks. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
<a href="buildingblock.html" class="view-more">View Item</a>
</li>
<li class="product-item">
<div class="product-image" style="background-image: url('toy3.jpg');"></div>
<div class="product-info">
<h2>Interactive Robot</h2>
<p>Description of the interactive robot. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
<a href="robot.html" class="view-more">View Item</a>
</li>
<li class="product-item">
<div class="product-image" style="background-image: url('toy4.jpg');"></div>
<div class="product-info">
<h2>Cute Stuffed Animals</h2>
<p>Description of the stuffed animals. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
<a href="cutestuff.html" class="view-more">View Item</a>
</li>
<li class="product-item">
<div class="product-image" style="background-image: url('toy5.jpg');"></div>
<div class="product-info">
<h2>Outdoor Sports Kit</h2>
<p>Description of the outdoor sports kit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
<a href="kit.html" class="view-more">View Item</a>
</li>
</ul>
</div>
</body>
</html>