perf: 引用自定义字体
This commit is contained in:
@@ -10,8 +10,11 @@
|
|||||||
* {
|
* {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
font-family: NotoSans;
|
||||||
}
|
}
|
||||||
body{
|
@font-face {
|
||||||
|
font-family: 'NotoSans'; /*字体名称*/
|
||||||
|
src: url('./font/NotoSansSC-6.ttf');
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
Reference in New Issue
Block a user