-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
89 lines (81 loc) · 1.53 KB
/
style.css
File metadata and controls
89 lines (81 loc) · 1.53 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
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
#container{
background-color: white;
padding: 50px 40px;
font-family: "Open Sans", sans-serif;
}
.productContainer{
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}
.productCard{
width: 400px;
height: auto;
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
border-radius: 10px;
padding: 30px 25px;
margin-top: 15px;
background-color: white;
}
.imageDiv{
display: flex;
justify-content: center;
align-items: center;
}
.productImg{
width: 150px;
height: 200px;
margin: 20px 0px;
}
.title{
font-size: 20px;
font-weight: 600;
color: black;
margin: 10px 0px;
}
.description{
font-size: 13px;
margin: 10px 0px;flex-direction: row;
}
.productDiv{
display: flex;
justify-content: space-between;
margin: 20px 0px;
}
.price{
font-weight: 700;
font-size: 18px;
}
.quanity{
color: green;
font-size: 12px;
font-weight: 600;
}
.rating{
font-size: 13px;
margin: 20px 0px;
color: grey;
}
.btn{
background-color: sienna;
color: white;
padding: 10px 20px;
border: none;
border-radius: 10px;
font-weight: 600;
}
@media (max-width : 768px) {
.productContainer{
display: flex;
flex-direction: column;
justify-content: space-between;
}
}