-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
84 lines (70 loc) · 1.22 KB
/
index.css
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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Poppins", sans-serif;
}
nav {
position: fixed;
inset: 0;
width: 100%;
height: 58px;
display: flex;
justify-content: center;
background: #f8f8f8;
box-shadow: 0px 4px 40px -15px rgba(0, 0, 0, 0.25);
}
nav img {
width:200px;
}
.container {
max-width: 1220px;
margin: 0 auto;
padding: 0 16px;
}
.products-section {
display: flex;
flex-direction: column;
gap: 32px;
padding: 48px 0;
}
.products-section:nth-child(1){
padding-top: 100px;
}
.products-content ul{
display: flex;
flex-wrap: wrap;
gap: 14px;
list-style: none;
}
.product {
max-width: 24%;
padding: 16px;
background: #ffffff;
box-shadow: 0px 4px 40px -20px rgba(0, 0, 0, 0.25);
border-radius: 4px;
}
.product .product-img {
border-radius: 4px;
max-width: 100%;
}
.product .product-main {
display: flex;
flex-direction: column;
gap: 16px;
padding: 16px 0;
}
.product .product-title {
font-size: 20px;
}
.product .product-category {
font-size: 14px;
font-weight: 400;
}
.product .product-price {
font-size: 16px;
font-weight: 600;
}