<!DOCTYPE html>
<html>
<head>
<title> 字体文件引用</title>
<style type="text/css">
@font-face {
font-family: 'fontsTest';
src: url('PingFangSCRegular.ttf'); /*fonts file dirpath*/
}
html,body {
font-family: fontsTest, sans-serif;
font-weight: 700; /*100 400 700*/
font-style: normal; /*normal italic oblique*/
font-size: 24px; /*12px 22px 24px*/
}
</style>
</head>
<body>
ABCDEFGHIJKLMNOPQRSTUVWXYZ<BR>
abcdefghijklmnopqrstuvwxyz<BR>
你在我心里永远是一个可爱的人.<BR>
</body>
</html>
何星星原创文章仅用于个人学习,当前页面暂不支持复制操作,了解详情或文章转载请 点此 继续!
0 条评论