23 lines
259 B
CSS
23 lines
259 B
CSS
|
form {
|
||
|
display: grid;
|
||
|
gap: 1rem;
|
||
|
grid-template-columns: 1fr 2fr;
|
||
|
|
||
|
input, label {
|
||
|
padding: .5em;
|
||
|
}
|
||
|
|
||
|
label {
|
||
|
grid-column: 1;
|
||
|
text-align: right;
|
||
|
}
|
||
|
|
||
|
input {
|
||
|
grid-column: 2;
|
||
|
}
|
||
|
|
||
|
input[type="submit"] {
|
||
|
grid-column: 1/3;
|
||
|
}
|
||
|
}
|