reduce the size of input box code example Example: size for number html input[type="number"] { width:50px; }