How can I style an html select box to omit drop down arrow for print?

后端 未结 6 1510
星月不相逢
星月不相逢 2020-12-17 20:10

I have an html select element which I would like to style for print so that it just looks like the selected text. How can I hide the drop down arrow?

6条回答
  •  庸人自扰
    2020-12-17 20:57

    In webkit you can specify:

    -webkit-appearance: none;
    

    Not sure about the other browsers.

提交回复
热议问题