[Solved] How to disable resizable property of the textarea?

  

1
Topic starter

How to disable the resizable property of the textarea?

Topic Tags
1 Answer
1
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 1 year ago 3 times by codewithbishal - Admin