I'm implementing an input combo box of type="number".
I want to adjust the size of the up-arrow button and bottom-arrow button.
I think that these buttons are so small buttons that users may feel an inconvenient click motion.
I've been trying to fix this by Googling, investigating properties and selectors of this, but I couldn't get any methods, and I expect that this is because number box has been recently released tag of HTML5.
How Can I adjust this size? please give me any idea. please.
Regards,
<td>
<input type="number" name="qty" value="1" name="goodsnum" onChange = "qtyChanged();">
</td>
You can interact with arrows by css.
input[type=number] {
height: 30px;
}
input[type=number]:hover::-webkit-inner-spin-button {
width: 14px;
height: 30px;
}
<input type="number" value="0" >
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With