https://dev.webpages.dk/  
 
About CSS Expandable textbox
Expandable textbox:

In the working example to the right of here you can see how the effect on this textbox will act like.

You see the styling used here on the CSS tab, to the right. With a slight modification you can use the same styling for a textfield.

 Expandable textbox

This is an expandable textbox. Write inside and see me grow.


 HTML


<div 
  class="growme"
  role="textbox"
  contenteditable>
</div>

 CSS


<style>
.growme {
  border: 1px solid #000000;
  font-family:Sans;
  font-size: 18px;
  background-color:#FFFFFF;
  display: block;
  width: 400px;
  overflow: hidden;
  resize:vertical;
  min-height:80px;
}
</style>

Icons made by Freepik from www.flaticon.com This example shows you how to make an expandable textbox. Try writing in some more text to the textbox here on this page.
09:21:17