feat: 优化字体加载方式
This commit is contained in:
parent
b7947467e1
commit
704d446328
@ -38,11 +38,13 @@ p {
|
|||||||
// 字体文件
|
// 字体文件
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "Pacifico-Regular";
|
font-family: "Pacifico-Regular";
|
||||||
|
font-display: swap;
|
||||||
src: url("/font/Pacifico-Regular.ttf") format("truetype");
|
src: url("/font/Pacifico-Regular.ttf") format("truetype");
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "UnidreamLED";
|
font-family: "UnidreamLED";
|
||||||
|
font-display: swap;
|
||||||
src: url("/font/UnidreamLED.ttf") format("truetype");
|
src: url("/font/UnidreamLED.ttf") format("truetype");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user