1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
form { display: grid; gap: 8px; } @media (min-width: 600px) { form { grid-template-columns: auto 1fr; } form label { grid-column: 1; } form input, form textarea { grid-column: 2; } } form textarea { font-family: sans-serif; resize: vertical; }