Two dots instead of checkmark in Safari select opt

2019-02-25 02:53发布

问题:

Rather than a check, Safari seems to add two dots in front of the selected option in a drop down if the font is larger. -webkit-appearance: none doesn't seem to get rid of this. Any ideas how to get around this programatically? Is this just a bug in Safari itself?

e.g. http://jsbin.com/guzukepoto/1/edit?html,output

回答1:

Looks like this bug was fixed in Safari 9, but broken in Safari 8 (and maybe earlier). In Safari 9, if the font is increased a lot (e.g. to 50px http://jsbin.com/xoduzizita/2/edit?html,output), the checkmark appears cutoff, but is much better than two dots!



标签: css safari