autosize input css

37

<input 	id="txt" 
		type="text" 
        onkeypress="this.style.width = (this.value.length + 1) + 'em';">

Comments

Submit
0 Comments