AutoSizeInput

by Qwerty_Wasd

HTML

<input type="text" onkeydown="this.style.width = ((this.value.length + 1) * 8) + 'px';">