-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstylein.css
More file actions
73 lines (65 loc) · 1.17 KB
/
stylein.css
File metadata and controls
73 lines (65 loc) · 1.17 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
/* *{
margin: 0;
padding: 0;
}
main {
display: flex;
justify-content: space-between;
padding: 20px;
}
.fProducts {
display: flex;
flex-wrap: wrap;
gap: 20px;
}
section{
flex:1;
} */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
header {
background-color: #333;
color: #fff;
text-align: center;
padding: 1em;
}
.container {
width: 80%;
margin: auto;
overflow: hidden;
}
#products {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
margin: 2em 0;
}
.product {
width: 300px;
background-color: #fff;
margin: 1em;
padding: 1em;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-align: center;
}
.product p1{
text-decoration: line-through;
color: rgb(148, 147, 147);
}
button {
background-color: #4CAF50;
color: #fff;
border: none;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
border-radius: 4px;
cursor: pointer;
}