Answers for "css input width auto"

1

input width autosize

<input 	id="txt" 
		type="text" 
        onkeypress="this.style.width = (this.value.length + 1) + 'em';">
Posted by: Guest on October-26-2020
1

autosize input css

onkeypress="this.style.width = (this.value.length + 1) + 'em';"
Posted by: Guest on March-21-2021

Browse Popular Code Answers by Language