-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathproduct.css
More file actions
107 lines (93 loc) · 1.67 KB
/
product.css
File metadata and controls
107 lines (93 loc) · 1.67 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
/* Content */
.content {
background-image: url(../common/img/Coconut\ Land\ 1.png);
background-size: cover;
background-repeat: no-repeat;
padding: 0 8%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
color: #424144;
height: 100vh;
}
.content h1 {
font-size: 3rem;
color: white;
}
.content p {
font-size: 1rem;
margin-top: 30px;
color: white;
width: 30%;
font-weight: 300;
min-width: 300px;
}
.pheading {
text-align: center;
margin: 0px 0 50px 0;
color: #424144;
}
#container {
padding-top: 50px;
}
/* Products */
.sec {
padding: 10px 5%;
}
.products {
display: grid;
gap: 25px;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.products .card {
width: 300px;
background-color: #f5f5f5;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
border-radius: 10px;
/* padding: 10px; */
margin-bottom: 20px;
}
.products .card img {
height: 250px;
border-radius: 10px;
}
.products .card .img {
display: flex;
justify-content: center;
margin: 30px 0;
}
.products .card .desc {
padding: 5px 20px;
opacity: 0.8;
}
.products .card .title {
font-weight: 900;
font-size: 20px;
color: #424144;
padding: 0 20px;
}
.products .card .box {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
}
.products .card .box .price {
color: #d6a360;
font-size: 20px;
font-weight: bold;
}
.products .card .box .btn {
font-size: 13px;
color: #d6a360;
padding: 10px 18px;
font-weight: 900;
border: 1px solid #d6a360;
border-radius: 20px;
}
.products .card .box .btn:hover {
cursor: pointer;
background-color: #d6a360;
color: white;
}