如何获得“字体粗细:较轻”在 Google Chrome 中工作?
在 Google Chrome(可能还有 Safari)中,“font-weight:normal”和“font-weight:bold”之间似乎没有任何区别。有没有人找到一种方法可以像 Firefox 那样在 Chrome 中调用“font-weight: Thing”?
There doesn't appear to be any difference between 'font-weight: normal' and 'font-weight: bold' in Google Chrome (and probably Safari). Has anyone found a way to invoke the 'font-weight: thinner' in Chrome the way that Firefox does?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这似乎是已知问题 在最新开发版本中修复的 Chrome 中:
有一个 临时解决方法 您还可以尝试:
This appears to be a known issue in Chrome fixed in latest development builds:
There is a temporary workaround you can also try:
也许您需要将其添加到 CSS 中:
Maybe you need to add this to your CSS:
font-weight: lighter;
不适合我,所以我使用font-weight: normal;
代替,这符合我的目的。不知道chrome现在怎么样了......font-weight: lighter;
was not working for me so I usedfont-weight: normal;
instead, which worked for my purpose. not sure what's going on with chrome right now...