定义新的font-face不能正常工作

时间:2016-09-14 23:30:19

标签: css

我试图在我的文件夹中安装一个新字体以便工作,出于某种原因,我无法弄清楚它是不是。 这是我的代码:

@font-face{
   font-family: "qontra";
   src: url("../fonts/Qontra.otf") format("opentext");

}
h1 {
   margin-top:0;
    font-family: 'qontra';
}

这是文件路径: mywebsite \字体

0 个答案:

没有答案