neu Style

This commit is contained in:
2025-12-03 12:58:10 +01:00
parent 7b7f3e1141
commit 5dccdde2c3
2 changed files with 65 additions and 69 deletions

View File

@@ -3,76 +3,8 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Reifenliste mit Größenfilter</title> <title>Reifenliste mit Größenfilter</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f5f5f5;
margin: 20px;
color: #333;
}
h1 {
text-align: center;
color: #2c3e50;
}
input[type="text"],
input[type="number"],
select {
padding: 8px 10px;
margin: 5px 0;
border: 1px solid #ccc;
border-radius: 5px;
width: 200px;
box-sizing: border-box;
font-size: 14px;
}
label {
font-weight: bold;
margin-right: 10px;
}
#product-list {
margin-top: 20px;
display: flex;
flex-wrap: wrap;
gap: 15px;
justify-content: center;
}
.product-card {
background-color: #fff;
border-radius: 10px;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
padding: 15px;
width: 200px;
text-align: center;
transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.product-name {
font-size: 16px;
font-weight: bold;
margin-bottom: 10px;
color: #34495e;
}
.product-price {
font-size: 14px;
color: #e67e22;
font-weight: bold;
}
</style>
<title>Interaktive Produktliste mit Filter</title> <title>Interaktive Produktliste mit Filter</title>
<link rel="stylesheet" href="styles.css">
</head> </head>
<body> <body>

64
styles.css Normal file
View File

@@ -0,0 +1,64 @@
body {
font-family: Arial, sans-serif;
background-color: #f5f5f5;
margin: 20px;
color: #333;
}
h1 {
text-align: center;
color: #2c3e50;
}
input[type="text"],
input[type="number"],
select {
padding: 8px 10px;
margin: 5px 0;
border: 1px solid #ccc;
border-radius: 5px;
width: 200px;
box-sizing: border-box;
font-size: 14px;
}
label {
font-weight: bold;
margin-right: 10px;
}
#product-list {
margin-top: 20px;
display: flex;
flex-wrap: wrap;
gap: 15px;
justify-content: center;
}
.product-card {
background-color: #fff;
border-radius: 10px;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
padding: 15px;
width: 200px;
text-align: center;
transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.product-name {
font-size: 16px;
font-weight: bold;
margin-bottom: 10px;
color: #34495e;
}
.product-price {
font-size: 14px;
color: #e67e22;
font-weight: bold;
}