我已经设置了我的选择框的样式,但我仍然可以在 firefox 中看到我的选择框中的箭头,我已经设置了 css:
background:transparent;
content:'';
apperiance:none;
这适用于 Chrome,但在 Firefox 上我仍然看到默认箭头,是否也可以在 Firefox 上删除它?
最佳答案
这应该会删除 Chrome、Firefox、Safari 和 IE10 中选择中的箭头。
.poa-select {
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
text-indent: .01px;
text-overflow: "";
}
.poa-select::-ms-expand {
display: none;
}
关于html - 如何删除选择框上的箭头 (Firefox),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16809168/