Text size for drop down menu/input select not working in Safari

后端 未结 12 1632
说谎
说谎 2021-02-19 00:17

First question...

I\'m having trouble getting ANY of the Drop down menu/Input Select\'s to appear with size 18 font in Safari.

Works fine in FF.

Code:

12条回答
  •  遥遥无期
    2021-02-19 00:40

    To style a select in Safari you first have to turn off the os styling:

    select {
        -webkit-appearance: none;
    }
    

提交回复
热议问题