Is there a way to get a textarea to stretch to fit its content without using PHP or JavaScript?

one line only

<textarea name="text" oninput="this.style.height = "";this.style.height = this.scrollHeight + "px""></textarea>

Leave a Comment