gpt4 book ai didi

css - 字体粗细在 FF 3.6 中什么都不做

转载 作者:行者123 更新时间:2023-11-28 10:57:38 29 4
gpt4 key购买 nike

我正在尝试 adjust the font weight而不仅仅是“大胆”。它似乎对 Verdana 文本没有任何作用。浏览器对此的支持下降了吗?

        <div class='business-hours'>
Toll free: (866) 528-4930 &middot; Mon-Fri 9-5 EST
</div>

#hd .top-nav .business-hours {
text-align: right;
font-family: verdana;
font-weight: 600;
font-size: 10px;
color: #9ea3a0;
}

最佳答案

数字和其他不太常见的 font-weight 属性(如 semi-boldbook 等)在浏览器中的支持非常差,和 AFAIK 只有当 字体本身 提供对给定值的支持时才相关(即具有明确的 book900 定义的字体粗细)。因此,如果需要一致性,使用它并不是一个明智的选择。

参见 Are all css font-weight property's values useful?

reference info at the W3C

关于css - 字体粗细在 FF 3.6 中什么都不做,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4682620/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com