Last active
August 29, 2015 14:08
-
-
Save josephabrahams/1162b11925b159cdb786 to your computer and use it in GitHub Desktop.
Web Font Loader script
This file contains hidden or 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
<!doctype html> | |
<html lang="en-US"> | |
<head> | |
<title></title> | |
<meta charset="utf-8"> | |
<script src="//ajax.googleapis.com/ajax/libs/webfont/1.5.3/webfont.js"></script> | |
<script> | |
WebFont.load({ | |
custom: { | |
families: ['My Font'] | |
}, | |
google: { | |
families: ['Droid Sans', 'Droid Serif'] | |
}, | |
typekit: { | |
id: 'xxxxxx' | |
} | |
}); | |
</script> | |
</head> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://developers.google.com/speed/libraries/devguide#webfont