How to remove the default arrow icon from a dropdown list (select element)?

問題:

I want to remove the dropdown arrow from a HTML <select> element. 我想從HTML <select>元素中刪除下拉箭頭。 For example: 例如:

<select style="width:30px;-webkit-appearance: none;">
    <option>2000</option>
    <option>2001</option>
    <option>2002</option>
    ...
</select>

How to do it in Opera, Firefox and Internet Explorer? 如何在Opera,Firefox和Internet Explorer中完成?

在此輸入圖像描述


解決方案:

參考一: https://en.stackoom.com/question/17fS7
參考二: https://stackoom.com/question/17fS7
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章