我得到了以下自定义下拉列表
这在 Chrome 中就像一个魅力,但在 Firefox 中我得到了这个:
是否有可能在 Firefox 中隐藏下拉箭头?
最佳答案
您可以尝试在下拉菜单 css 中添加这些行:
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
关于forms - 标准下拉箭头在 Firefox 中可见,但在 Chrome 中不可见,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9178407/