Categories
CSS

How to disable the resizable property of a textarea with CSS?

Spread the love

Sometimes, we want to disable the resizable property of a textarea with CSS.

In this article, we’ll look at how to disable the resizable property of a textarea with CSS.

How to disable the resizable property of a textarea with CSS?

To disable the resizable property of a textarea with CSS, we set the resize property.

For instance, we write

textarea {
  resize: none;
}

to disable resizing of the textarea with resize: none;.

Conclusion

To disable the resizable property of a textarea with CSS, we set the resize property.

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

Your email address will not be published. Required fields are marked *