-
如何使用外部字体
-
引用
@font-face{ /*引用自定义字体*/ font-family:"楷体"; src:url("font/hychf.ttf"); } .fonts{ /*使用该字体*/ font-family:"楷体"; }
-
如何使用外部字体
最新推荐文章于 2023-03-19 15:35:36 发布
如何使用外部字体
引用
@font-face{ /*引用自定义字体*/
font-family:"楷体";
src:url("font/hychf.ttf");
}
.fonts{ /*使用该字体*/
font-family:"楷体";
}