ejercicio 8: carrito de compras
This commit is contained in:
@@ -1,2 +1,42 @@
|
||||
/* Agregar el código CSS necesario para el ejercicio */
|
||||
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
margin: 20px;
|
||||
}
|
||||
|
||||
.campo {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
input {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 320px;
|
||||
padding: 8px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 10px 16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.error {
|
||||
display: block;
|
||||
margin-top: 4px;
|
||||
color: #c0392b;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.exito {
|
||||
margin-top: 16px;
|
||||
color: #2d7a2d;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user