Skip to content

Commit 73dfe09

Browse files
committed
Performance improvement
1 parent b5ff762 commit 73dfe09

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

css/fonts.css

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
url("../fonts/titilliumweb-extralight-webfont.ttf") format("truetype");
1010
font-weight: 200;
1111
font-style: normal;
12+
font-display: swap;
1213
}
1314

1415
/* Light & light italic, used as regular */
@@ -21,6 +22,7 @@
2122
url("../fonts/titilliumweb-light-webfont.ttf") format("truetype");
2223
font-weight: normal;
2324
font-style: normal;
25+
font-display: swap;
2426
}
2527
@font-face {
2628
font-family: "Titillium";
@@ -31,6 +33,7 @@
3133
url("../fonts/titilliumweb-lightitalic-webfont.ttf") format("truetype");
3234
font-weight: normal;
3335
font-style: italic;
36+
font-display: swap;
3437
}
3538

3639
/* Semibold & semibold italic, used as bold */
@@ -43,6 +46,7 @@
4346
url("../fonts/titilliumweb-semibold-webfont.ttf") format("truetype");
4447
font-weight: bold;
4548
font-style: normal;
49+
font-display: swap;
4650
}
4751
@font-face {
4852
font-family: "Titillium";
@@ -53,4 +57,5 @@
5357
url("../fonts/titilliumweb-semibolditalic-webfont.ttf") format("truetype");
5458
font-weight: bold;
5559
font-style: italic;
60+
font-display: swap;
5661
}

0 commit comments

Comments
 (0)