-
Notifications
You must be signed in to change notification settings - Fork 8
/
styles1.css
169 lines (150 loc) · 3.19 KB
/
styles1.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
body,
html {
margin: 0;
padding: 0;
}
.cards-section {
position: relative;
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: space-evenly;
justify-items: center;
}
.cards-section a:hover,
.cards-section a {
text-decoration: none;
}
.cards-section > div {
margin: 10px;
margin-bottom: 20px;
}
.cards-section .pro-card {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 300px;
height: 440px;
background: white;
border-radius: 15px;
overflow: hidden;
-webkit-box-shadow: 1px 5px 20px -12px rgba(0, 0, 0, 0.75);
-moz-box-shadow: 1px 5px 20px -12px rgba(0, 0, 0, 0.75);
box-shadow: 1px 5px 20px -12px rgba(0, 0, 0, 0.75);
}
.cards-section .pro-card .imgBx {
width: 200px;
height: 200px;
border-radius: 10px;
}
.cards-section .pro-card .imgBx img {
height: 100%;
width: 100%;
}
.cards-section .pro-card .contentBx {
width: 100%;
text-align: center;
transition: 1s;
}
.cards-section .pro-card .contentBx .quan-count {
display: flex;
align-items: center;
justify-content: space-around;
}
.cards-section .pro-card .contentBx .quan-count > a {
height: 28px;
width: 42px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 5px;
color: white;
text-align: center;
font-size: 18px;
font-weight: 900;
}
.cards-section .pro-card .contentBx .quan-count .plus-btn {
background: green;
}
.cards-section .pro-card .contentBx .quan-count .min-btn {
background: red;
}
.cards-section .pro-card .contentBx .quan-count .counter {
height: 34px;
width: 68px;
border-radius: 3px;
display: flex;
font-size: 18px;
font-weight: 800;
align-items: center;
justify-content: center;
background: rgb(255, 255, 131);
}
.cards-section .pro-card .contentBx h2 {
position: relative;
font-weight: 900;
font-size: 28px;
letter-spacing: 1px;
color: rgb(0, 0, 0);
margin-bottom: 0px;
}
.cards-section .pro-card .contentBx .count-items {
display: flex;
justify-content: center;
align-items: center;
padding: 8px 20px;
transition: 0.5s;
}
.cards-section .pro-card .contentBx .count-items h3 {
color: rgb(73, 73, 73);
font-weight: 600;
font-size: 18px;
letter-spacing: 1px;
}
.cards-section .pro-card .contentBx .count-items span {
width: fit-content;
border-radius: 4px;
height: 24px;
text-align: center;
font-weight: 600;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
letter-spacing: 2px;
display: inline-block;
color: rgb(255, 255, 255);
background: rgb(65, 65, 65);
transition: 0.5s;
}
.cards-section .pro-card .contentBx .cart-btn {
display: inline-block;
padding: 10px 20px;
background: #b13476;
margin-top: 20px;
border: 1px solid white;
border-radius: 4px;
font-weight: 600;
color: white;
opacity: 0;
transform: translateY(50px);
transition: 0.5s;
opacity: 1;
transform: translateY(0px);
transition-delay: 0s;
}
.title2{
text-align: center;
color: #66afe9;
background-color: #efefef;
padding: 2%;
margin: 2%;
}
h2{
text-align: center;
color: #66afe9;
padding: 2%;
}