Chrome Mobile 中的默认字体大小是多少?
What is the default font size in Chrome Mobile?
我想知道 Chrome 移动设备上的默认字体大小是多少。
它没有显示在 Chrome 移动设置页面中,谷歌搜索证明是徒劳的。我目前无法 运行 Chrome 远程调试器。
你可能 运行 下面的代码得到 font-size
(确保你 运行 它在任何 CSS 之前 font-size
设置为 html
已应用):
alert(getComputedStyle(document.querySelector('html'))['font-size'])
Chrome Mobile 的默认字体大小为 16px。
已通过远程调试验证。
我想知道 Chrome 移动设备上的默认字体大小是多少。
它没有显示在 Chrome 移动设置页面中,谷歌搜索证明是徒劳的。我目前无法 运行 Chrome 远程调试器。
你可能 运行 下面的代码得到 font-size
(确保你 运行 它在任何 CSS 之前 font-size
设置为 html
已应用):
alert(getComputedStyle(document.querySelector('html'))['font-size'])
Chrome Mobile 的默认字体大小为 16px。
已通过远程调试验证。