【发布时间】:2014-04-27 18:34:14
【问题描述】:
我一直在网上搜索这个问题的答案,但找不到。 在我的 style.css 中,我使用 @font-face 在我的网站上使用一种字体(我上传到我网站的服务器上)。 我做了正确的事,我想是的,但字体仍然不会出现在网站上..
我在 style.css 中的代码:
@font-face { font-family: Brandon Grotesque; src: url('BGREG.otf'); }
@font-face { font-family: Brandon Grotesque; font-weight: bold; src: url('BGBOLD.otf');}
怎么了?还是我必须添加一些代码?
【问题讨论】: