CSS

How to Disable the Resizing of Textarea Using CSS

You can use the CSS3 resize property to remove or disable the default horizontal and vertical resizing of the HTML <textarea> element.
 

CSS:
textarea {
    resize: none;
}

 

 

HTML:
<textarea rows="6" cols="60"></textarea>
Result
mcqMCQPractice competitive and technical Multiple Choice Questions and Answers (MCQs) with simple and logical explanations to prepare for tests and interviews.Read More

Leave a Reply

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