<h2>input type="text"</h2> <p><input id="test0" type="text" maxlength="8"></p> <h2>input type="number" スピンボタン表示</h2> <p><input id="test1" type="number" maxlength="8"></p> <h2>input type="number" スピンボタン非表示</h2> <p><input id="test2" type="number" maxlength="8"></p>
input#test2::-webkit-outer-spin-button, input#test2::-webkit-inner-spin-button { -webkit-appearance: none; }