This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis
This post is a quick one for the bookmarks: Chris Coyier shared a smart way to automatically grow textareas when user content expands across the defined textarea size.
The solution uses stacked CSS grid elements, pseudo-elements, and one (!) line of inline JavaScript. Beautiful!
Reply to Stefan
This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis

Stefan Judis | Sciencx (2020-11-28T23:00:00+00:00) How to make textareas grow automatically with a little bit of CSS and one line of JavaScript (#note). Retrieved from https://www.scien.cx/2020/11/28/how-to-make-textareas-grow-automatically-with-a-little-bit-of-css-and-one-line-of-javascript-note/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.