간결한 textarea 자동 조절

<div style="width: 470px;">
<textarea style="width: 100%; height: 100px; resize: none; overflow-y: auto; padding: 1.1em;
padding-bottom: 0.2em; line-height: 1.6;" onkeyup="this.style.height='1px';
this.style.height = (10+this.scrollHeight)+'px';">들어갈 내용</textarea>
</div>
Previous
Next Post »