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 can set the resize CSS property to none.

For instance, we write

textarea {
  resize: none;
}

to set the resize CSS property to none to disable auto-resizing of the text area.

Conclusion

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

Leave a Reply

Your email address will not be published.