how to make input box only as big as numbers code example Example: size of number input box input[type=number]{ width: 80px; }