How to remove the arrow from a select element in Firefox

后端 未结 30 1643
北恋
北恋 2020-11-22 15:58

I\'m trying to style a select element using CSS3. I\'m getting the results I desire in WebKit (Chrome / Safari), but Firefox isn\'t playing nicely (I\'m not ev

30条回答
  •  抹茶落季
    2020-11-22 16:56

    A useful hack for me is to set the (selects) display to inline-flex. Cuts the arrow right out of my select button. Without all of the added code.

    • For Fx only. -webkit appearance still needed for Chrome, etc...

提交回复
热议问题