Auto Resize Textarea code example
Example 1: disable textarea resize
textarea { /* for all text* area elements */
resize: none;
}
#foo { /* for particular id */
resize: none;
}
Example 2: remove resize from textarea
textarea {
resize: none;
}
Example 3: textarea resize off
<textarea class="myTextArea"></textarea>
<style>
.myTextArea {
resize: none;
}
</style>
Example 4: scale textarea
<textarea rows="10" style="font-size:2vw; width:100%;"></textarea>