【问题标题】:Signika Negative Bold font doesnt work on my html siteSignika Negative Bold 字体在我的 html 网站上不起作用
【发布时间】:2018-03-14 20:54:36
【问题描述】:

Signika Negative Bold 字体在我的 html 网站上不起作用, 如果我尝试一些其他字体,它可以工作,但使用font-family: 'Signika Negative Bold';

没用

html:

<div id="green">hewhehhwhehwe </div>

css:

#green {
font-family: 'Signika Negative Bold';
}

this is what I have right now

【问题讨论】:

  • 如何导入?你在哪里使用它?如果您想要答案,请提供更多详细信息!
  • 字体名称中是否包含“Bold”?您是否尝试过“Signika Negative”作为名称和粗体字重?
  • @abraham63 我向你展示了我得到了什么,但它不起作用
  • @tomdebom 如果这就是你所拥有的,那么答案肯定是你的计算机上没有安装该字体。
  • 您什么时候需要安装字体? 因为总是...在某些情况下,您的软件可能会默认安装字体,但它成功了'默认情况下没有 every 字体...您用户的设备也没有。

标签: html css twitter-bootstrap


【解决方案1】:

请指定字体名称并指定网址,如下图:

<!DOCTYPE html>
<html>
<head>
<style> 
    @font-face {
    font-family: myFirstFont;
    src: url(signika-v8-latin-regular.woff);
}


div {
    font-family: myFirstFont;
}
</style>
</head>
<body>

<h1>The @font-face Rule</h1>

</body>
</html>

【讨论】:

  • 你如何使用我想要的字体来做到这一点?
  • 更改并在 src 中添加您的字体:url("your url");
  • 我怎么知道我的字体的网址?那是谷歌字体链接吗?还是什么?
  • 你应该下载并保留字体文件并添加url!
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-10-06
  • 2014-06-06
  • 1970-01-01
相关资源
最近更新 更多