-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyles.css
More file actions
95 lines (81 loc) · 1.59 KB
/
styles.css
File metadata and controls
95 lines (81 loc) · 1.59 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
/* General Styles */
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: lavenderblush;
color: #fff;
}
header {
background-color: lavenderblush;
padding: 0px;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
header h1 {
font-size: 2.5rem;
color: black;
font-family:"oblique";
text-decoration: underline;
}
header p {
font-size: 1rem;
color: black;
}
/* Product Container */
.product-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
padding: 30px;
justify-items: center;
}
.product {
background-color: blanchedalmond;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
padding: 20px;
text-align: center;
transition: transform 0.3s ease;
}
.product img {
max-width: 100%;
height: auto;
border-radius: 10px;
transition: transform 0.5s ease;
}
.product img:hover {
transform: scale(1.05);
}
.product h3 {
font-size: 1.5rem;
margin: 15px 0;
color: black;
}
.product p {
font-size: 1.2rem;
color: black;
}
.product .buy-btn {
background-color: peachpuff;
color: black;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.product .buy-btn:hover {
background-color: #ffdd55;
}
/* Footer */
footer {
background-color: #1c1c1c;
text-align: center;
padding: 10px;
box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
}
footer p {
font-size: 1rem;
color: #bbb;
}