change size input html css code example Example: size for number html input[type="number"] { width:50px; }