::before for row within textarea code example
Example 1: textarea only one line
textarea {
resize: none;
white-space: nowrap;
overflow-x: scroll; /* or hidden */
}
Example 2: scale textarea
<textarea rows="10" style="font-size:2vw; width:100%;"></textarea>