Using WebFontLoader in index.html
This commit is contained in:
parent
9a440752b9
commit
1e649ba557
2 changed files with 31 additions and 29 deletions
|
@ -18,7 +18,13 @@
|
|||
|
||||
<!-- Google WebFont library for loading custom fonts. Helps to avoid FOUT. -->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js"></script>
|
||||
|
||||
<script>
|
||||
WebFont.load({
|
||||
google: {
|
||||
families: ['Oswald', 'Josefin Slab', 'Playfair Display', 'Sedan SC', 'Material Symbols Outlined']
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<script src="scripts/scripts.js"></script>
|
||||
<link rel="stylesheet" href="css/styles.css">
|
||||
|
||||
|
|
|
@ -1,5 +1 @@
|
|||
WebFont.load({
|
||||
google: {
|
||||
families: ['Oswald', 'Josefin Slab', 'Playfair Display', 'Sedan SC', 'Material Symbols Outlined']
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue