-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtry.html
More file actions
127 lines (123 loc) · 3.3 KB
/
Copy pathtry.html
File metadata and controls
127 lines (123 loc) · 3.3 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Market Products (Plain HTML)</title>
<style>
body {
margin: 0;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
background: #f5f5f5;
color: #333;
}
.container {
max-width: 900px;
margin: 2rem auto;
padding: 0 1rem;
}
h1 {
text-align: center;
margin-bottom: 2rem;
font-weight: normal;
}
.product-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1.5rem;
}
/* ProductCard */
.card {
background: #fff;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
overflow: hidden;
display: flex;
flex-direction: column;
transition: transform 0.2s;
}
.card:hover {
transform: translateY(-4px);
}
.thumb {
width: 100%;
height: 180px;
object-fit: cover;
}
.card-content {
padding: 1rem;
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.card-content h2 {
margin: 0 0 0.5rem;
font-size: 1.1rem;
}
.card-content p {
flex: 1;
margin: 0 0 1rem;
color: #555;
font-size: 0.95rem;
}
.meta {
display: flex;
justify-content: space-between;
font-weight: bold;
}
</style>
</head>
<body>
<div class="container">
<h1>Market Products</h1>
<div class="product-grid">
<div class="card">
<img
class="thumb"
src="https://picsum.photos/300/300/?image=39"
alt="Ergonomic Concrete Chicken"
/>
<div class="card-content">
<h2>Ergonomic Concrete Chicken</h2>
<p>Unbranded Granite Hat</p>
<div class="meta">
<span>💲 $275.15</span>
<span>📦 44 in stock</span>
</div>
</div>
</div>
<div class="card">
<img
class="thumb"
src="https://picsum.photos/300/300/?image=240"
alt="Handcrafted Wooden Bowl"
/>
<div class="card-content">
<h2>Handcrafted Wooden Bowl</h2>
<p>Artisan-carved bowl made from oak wood.</p>
<div class="meta">
<span>💲 $45.00</span>
<span>📦 12 in stock</span>
</div>
</div>
</div>
<div class="card">
<img
class="thumb"
src="https://picsum.photos/300/300/?image=250"
alt="Vintage Leather Journal"
/>
<div class="card-content">
<h2>Vintage Leather Journal</h2>
<p>Hand-bound journal with recycled paper.</p>
<div class="meta">
<span>💲 $25.50</span>
<span>📦 30 in stock</span>
</div>
</div>
</div>
</div>
</div>
</body>
</html>