Skip to content

Commit

Permalink
Add swap to the compromise
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Apr 8, 2018
1 parent b611cd2 commit 0d28b87
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions critical-foft-preload-fallback-optional.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,29 @@
font-family: Lato;
src: url('font-lato/lato-regular-webfont.woff2') format('woff2'),
url('font-lato/lato-regular-webfont.woff') format('woff');
font-display: swap;
}
@font-face {
font-family: Lato;
src: url('font-lato/lato-bold-webfont.woff2') format('woff2'),
url('font-lato/lato-bold-webfont.woff') format('woff');
font-weight: 700;
font-display: swap;
}
@font-face {
font-family: Lato;
src: url('font-lato/lato-italic-webfont.woff2') format('woff2'),
url('font-lato/lato-italic-webfont.woff') format('woff');
font-style: italic;
font-display: swap;
}
@font-face {
font-family: Lato;
src: url('font-lato/lato-bolditalic-webfont.woff2') format('woff2'),
url('font-lato/lato-bolditalic-webfont.woff') format('woff');
font-weight: 700;
font-style: italic;
font-display: swap;
}

body {
Expand Down

0 comments on commit 0d28b87

Please sign in to comment.