mirror of
https://github.com/Alvin-Zilverstand/Schoolkantine.git
synced 2026-03-06 21:36:27 +01:00
k
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user