how to lock textarea size code example Example 1: lock textarea size textarea { resize: none; } Example 2: fix textarea size resize: none;