Remove arrow input type='date'

前端 未结 3 1534
悲&欢浪女
悲&欢浪女 2021-01-12 12:59

I want to remove the right arrow from input type date. I want to let is work on mobile too.

Here is exactly want I want to remove:

What i\'ve tried

3条回答
  •  悲哀的现实
    2021-01-12 13:17

    Try this

     .DatePickerInput::-webkit-inner-spin-button,
     .DatePickerInput::-webkit-calendar-picker-indicator {
         opacity:0;   
        -webkit-appearance: none;
     }
    

提交回复
热议问题