input[type="text"]の横幅を入力された文字に合わせて可変にするサンプル

/
/

Repository: https://github.com/jamog3/input-width-to-variable