-
Notifications
You must be signed in to change notification settings - Fork 160
/
products.html
95 lines (83 loc) · 2.38 KB
/
products.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Products</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
header {
background-color: #f0f0f0;
padding: 20px;
text-align: center;
}
main {
padding: 20px;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.product {
width: 300px;
margin: 20px;
padding: 20px;
border: 1px solid #ddd;
border-radius: 5px;
}
.product img {
width: 100%;
border-radius: 5px;
}
.product h2 {
margin-top: 10px;
}
.product p {
margin-top: 10px;
font-size: 14px;
color: #666;
}
.button {
display: block;
width: 100%;
text-align: center;
background-color: #007bff;
color: #fff;
padding: 10px;
border: none;
border-radius: 5px;
text-decoration: none;
margin-top: 15px;
}
.button:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<header>
<h1>Products</h1>
<p>This page showcases the various products or services offered by our company. You can find details about each product, such as features, pricing, and customer reviews.</p>
</header>
<main>
<section class="product">
<img src="product1.jpg" alt="Product 1">
<h2>Product 1</h2>
<p>Description of Product 1. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<p>Price: $XX.XX</p>
<a href="#" class="button">Learn More</a>
</section>
<section class="product">
<img src="product2.jpg" alt="Product 2">
<h2>Product 2</h2>
<p>Description of Product 2. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<p>Price: $XX.XX</p>
<a href="#" class="button">Learn More</a>
</section>
<!-- Add more sections for additional products -->
</main>
</body>
</html>