This commit is contained in:
Dylanomz
2025-02-13 12:20:21 +01:00
parent 05d15fab69
commit 462cd5f206
4 changed files with 104 additions and 4 deletions

View File

@@ -134,3 +134,59 @@ body {
#add-to-cart:hover {
background-color: #45a049;
}
/* Winkelwagen-icoon */
.cart-icon {
position: fixed;
top: 20px;
right: 20px;
background-color: #ff6600;
color: white;
padding: 10px 15px;
border-radius: 50%;
font-size: 20px;
cursor: pointer;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.cart-icon:hover {
background-color: #e65c00;
}
.cart-count {
position: absolute;
top: -5px;
right: -5px;
background: red;
color: white;
font-size: 12px;
font-weight: bold;
padding: 3px 6px;
border-radius: 50%;
}
/* Productstijl */
.products {
display: flex;
gap: 20px;
margin: 50px;
}
.product {
border: 1px solid #ddd;
padding: 20px;
text-align: center;
}
.product button {
background-color: #ff6600;
color: white;
border: none;
padding: 10px;
cursor: pointer;
margin-top: 10px;
}
.product button:hover {
background-color: #e65c00;
}