當input的type爲number時會顯示數字加減的上下箭頭,這裏把其去掉:input[type="number"]{ -moz-appearance: textfield; -webkit-appearance: none !important; } input::-webkit-inner-spin-button { -webkit-appearance: none !important; margin: 0; }