Spaces:
Sleeping
Sleeping
Update templates/cart.html
Browse files- templates/cart.html +6 -2
templates/cart.html
CHANGED
@@ -46,11 +46,15 @@
|
|
46 |
margin-bottom: 10px; /* Add space below the delete icon */
|
47 |
transition: color 0.3s ease; /* Smooth transition for icon color */
|
48 |
position: relative; /* Make it relative for movement */
|
49 |
-
top: -
|
50 |
left: 50px; /* Move the button 30px to the right */
|
51 |
-
color: red; /* Set the color to red */
|
52 |
}
|
53 |
|
|
|
|
|
|
|
|
|
|
|
54 |
/* Hover effect */
|
55 |
.remove-btn:hover {
|
56 |
color: black; /* Change the icon color to black on hover */
|
|
|
46 |
margin-bottom: 10px; /* Add space below the delete icon */
|
47 |
transition: color 0.3s ease; /* Smooth transition for icon color */
|
48 |
position: relative; /* Make it relative for movement */
|
49 |
+
top: -35px; /* Move the button 10px upwards */
|
50 |
left: 50px; /* Move the button 30px to the right */
|
|
|
51 |
}
|
52 |
|
53 |
+
.remove-btn i {
|
54 |
+
color: red; /* Make the trash icon red */
|
55 |
+
}
|
56 |
+
|
57 |
+
|
58 |
/* Hover effect */
|
59 |
.remove-btn:hover {
|
60 |
color: black; /* Change the icon color to black on hover */
|