Yo CSS Masters fam, you're not gonna believe it but we finally have a native solution for auto-expanding text areas in our beloved language. Exciting times ahead as the web evolves and user experiences get more innovative by the day…right? Ever since forever (or at least like way back), developers have been wanting this feature to make creating dynamic forms easier on us all, especially when users decide they need a novel for their message. Well, hold onto your hats because it's here! Let me share the deets… Stay CSS-tastic and happy coding, my friends
Source:
https://davidwalsh.name/autogrow-textareas