How to change height of input field?

https://codepen.io/csobimudi/full/EJBwNQ
I want the Question field to be higher, what should I do?

there’s a html tag for it, its called textarea, read more about it on w3schools

1 Like

Using a textarea tag would give you a larger input by default, but you should understand the difference between a textarea and a text input. Textareas should only really be used for paragraphs or free typing. Data like emails or phone numbers should use appropriate HTML5 fields so that the data can be validated either on client side or on the backend.

Textareas can be made larger just by adding a rows attribute, no CSS necessary. See example below

<input type="text" placeholder="Your Name" />

<textarea rows="5" placeholder="Write your biography..."></textarea>
1 Like

I still prefer using CSS to styling textarea boxes over using inline rows property.