Styling a input type=number

前端 未结 8 1684
野趣味
野趣味 2020-12-12 23:17

Is it possible to apply a style in the inner \"up arrow\" and \"down arrow\" of a in CSS? I would like to change the background of

8条回答
  •  长情又很酷
    2020-12-12 23:53

    the above code for chrome is working fine. i have tried like this in mozila but its not working. i found the solution for that

    For mozila

    input[type=number] { 
      -moz-appearance: textfield;
      appearance: textfield;
      margin: 0; 
    }
    

    Thanks Sanjib

提交回复
热议问题