Disabling the Resize Grabber of
How to remove that annoying resize grabber from your
Disabling the Grabber
To disable the resize grabber, simply use the resize: none property:
<code class="css">textarea { resize: none; }</code>
This will completely remove the grabber from the
Resizing Horizontally or Vertically
If you want to allow resizing only horizontally or vertically, you can use the following properties:
<code class="css">textarea { resize: vertical; } textarea { resize: horizontal; }</code>
Enabling the Grabber
If you want to enable the resize grabber, use the resize: both property:
<code class="css">textarea { resize: both; }</code>
The above is the detailed content of How to Disable or Customize the Resize Grabber of a `` Element?. For more information, please follow other related articles on the PHP Chinese website!