47 lines
828 B
CSS
47 lines
828 B
CSS
|
body {
|
||
|
font-family: Arial, sans-serif;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
.container {
|
||
|
width: 400px; /* Festgelegte Breite für die Box */
|
||
|
margin: 50px auto; /* Zentriert auf der Seite */
|
||
|
padding: 20px;
|
||
|
border: 1px solid #ccc; /* Rand für die Box */
|
||
|
}
|
||
|
|
||
|
h1, h2 {
|
||
|
color: #333;
|
||
|
}
|
||
|
|
||
|
form {
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
form label {
|
||
|
display: block;
|
||
|
margin-bottom: 5px;
|
||
|
}
|
||
|
|
||
|
form input[type="text"],
|
||
|
form input[type="password"],
|
||
|
form input[type="email"],
|
||
|
form input[type="submit"] {
|
||
|
padding: 8px;
|
||
|
margin-bottom: 10px;
|
||
|
width: 100%;
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
form input[type="submit"] {
|
||
|
background-color: #4CAF50;
|
||
|
color: white;
|
||
|
border: none;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
form input[type="submit"]:hover {
|
||
|
background-color: #45a049;
|
||
|
}
|