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.