css - `font-weight` 不在 chrome 上工作?

标签 css google-chrome fonts

刚刚测试了一些在 firefox 和 chrome 上完美运行的东西并没有对 font-weight: bold/bolder 属性产生任何影响。

我试图查找另一个可能会覆盖它的 CSS 属性,但没有找到,谷歌也没有找到答案......

position: absolute;
top: 8px;
left: 50px;
font-size:38px;
font-weight: bolder;

最佳答案

解决方法:

font-weight: 900;
font-family: "Arial Black", Arial, sans-serif;

关于css - `font-weight` 不在 chrome 上工作?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8529846/

相关文章:

jquery - 根据视口(viewport)稍微向上或向下移动一个 div

javascript - 背景图像和颜色在 IE 或 Firefox 中不变

html - 升级到 Chrome 60+ 后,某些 css 样式的工作方式有所不同

css - 如何使用 webpack 将字体加载到我的元素中?

javascript - 仅限 Firefox 中的 div 翻转位置问题,...很奇怪

google-chrome - 如何自动 chrome-cast 网站或标签

css - Web 安全的可读字体

html - 使用 font-face 的 'Honey Script' 字体文本没有任何高度。怎么修?

ios - 从ttf文件中获取字体

html - 在 D3 条形图中分隔 y 轴和 y 标签的颜色