textarea expand only vertically code example
Example 1: textarea only vertical resize
resize: vertical;
Example 2: Textarea resize: vertical only
to disable all resizeing
textarea { resize: none; }
only vertical resize
textarea { resize: vertical; }
only horizontal resize
textarea { resize: horizontal; }
disable vertical and horizontal with limit
textarea { resize: horizontal; max-width: 400px; min-width: 200px; }
disable horizontal and vertical with limit
textarea { resize: vertical; max-height: 300px; min-height: 200px; }