我需要为 <option>
增加字体的 <select>
列表。虽然这在 Chrome 中很容易实现,但在 Firefox 中唯一增加的是选中的选项。我的 Firefox 版本是 50.1.0
引用this fiddle ,我得到以下不同的结果:
select {
font-size: 200%;
}
<select>
<option value="1">One</option>
<option value="2">Two</option>
</select>
我希望在 Firefox 中也能获得与 Chrome 相同的行为。
最佳答案
这是 Firefox 中的一个错误,但仍未修复。
他们说已解决,但问题仍然存在。
禁用多进程,它将正常工作。
How to disable Multi-Process: (from LINK):
Go to about:config. Search for "browser.tabs.remote.autostart". There may be multiple results. Set them all to false and restart the browser.
错误链接:
关于html - Firefox 下拉选项字体大小未呈现,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41244238/