textarea resize automatically on code example Example 1: remove resize from textarea textarea { resize: none; } Example 2: textarea only vertical resize resize: vertical;