如何在 Firefox(Firefox 版本 30)和 IE 中删除默认箭头形式 <select>
How to remove default arrow form <select> in Firefox (Firefox version 30) and IE
有没有办法在 Firefox 和 IE 中隐藏元素的箭头,我知道这个问题已经在这里问过并回答过,但不再适用于 FF30。
这是我正在做的一个例子:
select {
border: 0 !important;
-webkit-appearance: none;
-moz-appearance: none;
background: url(../images/select-arrow.png) no-repeat 95% 50% #ffffff;
background-size: 12%;
overflow: hidden;
border: 1px solid #b4b4b4;
padding: 5px;
font-size: 16px;
text-indent: 0.01px;
text-overflow: "";
}
<select class="col-xm-8 col-sm-8 col-xs-8 pull-right">
<option selected="selected" icon="">Sort Topics</i>
</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select>
我只想删除 firefox 中的默认箭头图标 & IE.he -moz-appearance: none 没有删除下拉图标。
有没有办法在 Firefox 和 IE 中隐藏元素的箭头,我知道这个问题已经在这里问过并回答过,但不再适用于 FF30。
这是我正在做的一个例子:
select {
border: 0 !important;
-webkit-appearance: none;
-moz-appearance: none;
background: url(../images/select-arrow.png) no-repeat 95% 50% #ffffff;
background-size: 12%;
overflow: hidden;
border: 1px solid #b4b4b4;
padding: 5px;
font-size: 16px;
text-indent: 0.01px;
text-overflow: "";
}
<select class="col-xm-8 col-sm-8 col-xs-8 pull-right">
<option selected="selected" icon="">Sort Topics</i>
</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select>
我只想删除 firefox 中的默认箭头图标 & IE.he -moz-appearance: none 没有删除下拉图标。