-
Notifications
You must be signed in to change notification settings - Fork 0
/
Products.css
145 lines (135 loc) · 2.89 KB
/
Products.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
body {
margin: 0;
overflow-x: hidden;
background: linear-gradient(45deg, #20002c 0%, #cbb4d4 100%);
background-size: 400% 400%;
animation: gradientAnimation 10s ease infinite;
position: relative;
color: rgb(20, 20, 20);
}
@keyframes gradientAnimation {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
#containeritems {
display: grid;
gap: 0.5rem;
font-size: 15px;
}
.item {
position: relative; /* Add this to enable positioning of the button */
padding: 5px;
border-radius: 8px;
row-gap: 0.3rem;
color: #ffffff;
background: linear-gradient(45deg, #000000 0%, #434343 100%);
margin: 0;
overflow-x: hidden;
background-size: 200% 200%;
overflow-y: hidden;
animation: gradientAnimation 8s ease infinite;
font-size: 110%;
display: flex;
text-align: center;
flex-direction: column;
opacity: 0.95;
-webkit-backdrop-filter: blur(0px);
backdrop-filter: blur(0px);
}
@keyframes gradientAnimation {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.img_item {
width: 60%;
margin: auto 20%;
display: block;
-o-object-fit: contain;
object-fit: contain;
border-radius: 8px;
transition: transform 0.7s ease;
}
.img_item:hover {
transform: scale(1.07);
transition: 0.8s all;
}
.add-to-cart-button {
display: none;
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
background-color: #b993d6;
color: white;
border: none;
padding: 10px;
width: 70%;
text-align: center;
text-decoration: none;
font-size: 16px;
cursor: pointer;
font-weight: bold;
border-radius: 15px 50px 30px;
}
/* Display the button on hover */
.item:hover .add-to-cart-button {
display: block;
}
.product-title {
font-weight: lighter;
color: #9d50bb;
font-family: "LilitaOne";
}
.product-price {
font-weight: lighter;
color: #ff6e7f;
font-family: "LilitaOne";
}
.add-to-cart-button:hover {
background-color: #b67be4;
}
.footer {
border-radius: 25px 25px 0px 0px;
}
#cartButton {
color: hsla(0, 0%, 100%, 0.9);
font-family: LilitaOne;
font-weight: light;
background-color: #b993d6;
border-radius: 10px 5px 10px 5px !important;
}
#cartButton:hover {
background-color: #b67be4;
}
.brand-prod {
color: #d9a7c7 !important;
}
.brand-prod:hover {
color: #b67be4 !important;
}
#cart-badge {
color: #000000 !important;
background-color: #d9a7c7 !important;
}
.footer-products-fixed {
background: linear-gradient(45deg, #232526 0%, #414345 100%);
overflow-x: hidden;
background-size: 200% 200%;
overflow-y: hidden;
animation: gradientAnimation 8s ease infinite;
border-radius: 35px 35px 0 0;
}