Styling Forms
14.2
Lesson

Width & Height for Text Inputs

Just like any other element in HTML, you can give a width and height to text fields and text areas using any of the sizing units.

The textarea in the above example occupies 100% width of its parent element, form.