Answers for "resize input size of content"

CSS
2

input width autosize

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

input text size css

input[type="text"]
{
    font-size:24px;
}
Posted by: Guest on April-27-2021

Browse Popular Code Answers by Language