html5 search input does not work with bootstrap

后端 未结 5 1140
既然无缘
既然无缘 2020-12-09 02:12

I have tested the input[type=\"search\"] and it does not show the clear (x) icon when the bootstrap styles have been applied.

5条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-09 02:33

    Change your input type to 'search'instead of 'text' and -webkit-appearance: block instead of 'none'

提交回复
热议问题