Home >Web Front-end >CSS Tutorial >How to Disable the Resize Grabber in a `` Element?
Disabling the Resize Grabber in
To disable the resize grabber, commonly known as the triangle handle that appears in the right-bottom corner of a
Simply set 'resize' to 'none' in your CSS styles:
textarea { resize: none; }
This will prevent the resize grabber from appearing, effectively disabling its functionality.
Alternative Resize Options
You can also use 'resize' to control the direction in which a
By default, 'resize' is set to 'both', enabling resizing in both directions.
The above is the detailed content of How to Disable the Resize Grabber in a `` Element?. For more information, please follow other related articles on the PHP Chinese website!