mirror of
https://github.com/imsyy/home.git
synced 2024-11-16 11:42:18 +08:00
feat: 优化字体加载方式
This commit is contained in:
parent
b7947467e1
commit
704d446328
|
@ -38,11 +38,13 @@ p {
|
|||
// 字体文件
|
||||
@font-face {
|
||||
font-family: "Pacifico-Regular";
|
||||
font-display: swap;
|
||||
src: url("/font/Pacifico-Regular.ttf") format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "UnidreamLED";
|
||||
font-display: swap;
|
||||
src: url("/font/UnidreamLED.ttf") format("truetype");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user