1
07/05/2021 10:30 am
Topic starter
How to disable the resizable property of the textarea?
1 Answer
1
07/05/2021 10:38 am
Topic starter
You can easily disable the resizable property of textarea by using a CSS code [resize: none;], Below is an example
Here is the code [HTML]:
<textarea class="textarea" id="text">Hello I am a textarea</textarea>
and CSS:
.textarea{
resize: none;
}
or
#text{
resize: none;
}
or
textarea{
resize: none;
}
This post was modified 4 years ago 3 times by CodeWithBishal-admin