I am currently working on a small project that involves using textareas. One issue I have encountered is that the text always starts at the top-left corner of the textarea.
What I would like to achieve is having the content inside the textarea always centered. I envision that when I add a new line, the text expands from the center, similar to the following illustrations:
https://i.sstatic.net/SWMmY.png https://i.sstatic.net/6NL8O.png
I have explored options like vertical alignment and inserting a div, but I am curious if there is a solution that can be achieved using just the textarea element itself.
Thank you!