前端如何正确的引入字体
作者:
上海老宅男 | 来源:发表于
2020-03-08 22:43 被阅读0次@font-face {
font-family: PingFangSC-Medium; //名称
src:url("../font/PingFang\ Medium_downcc.otf"); //地址
}
@font-face {
font-family: PingFangSC-Regular;
src:url("../font/PingFang\ Regular.otf");
}
@font-face {
font-family: HiraginoSansGB-W3;
src:url("../font/Hiragino\ Sans\ GB\ W3.otf");
}
@font-face {
font-family: 冬青黑体W3;
src:url("../font/冬青黑体W3.otf");
}
@font-face {
font-family: HiraginoSansGB-W6;
src:url("../font/苹果丽黑w36.otf");
}
本文标题:前端如何正确的引入字体
本文链接:https://www.haomeiwen.com/subject/mjrczctx.html
网友评论