Last active
February 13, 2024 06:33
-
-
Save migliori/e2ad9b87d8daf69fb965ea407b79663f to your computer and use it in GitHub Desktop.
optimization - preload Google fonts #optimization #google #webfonts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js"></script> | |
<script type="text/javascript"> | |
WebFont.load({ | |
google: { | |
families: ['Roboto:300,400,500', 'Francois+One'] | |
} | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment