<textarea>Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolorem aliquid iure neque repellat quo, nihil sapiente fugiat delectus magnam itaque libero fugit, sunt quod facilis voluptates pariatur cumque distinctio obcaecati.

Write something and watch it grow...
</textarea>
body > * {
  width: 90%;
  max-width: 30rem;
  margin-inline: auto;
  display: block;
}

textarea {
  min-height: 3rem;
  field-sizing: content;
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.