Created
April 25, 2012 04:59
-
-
Save magemore/2486564 to your computer and use it in GitHub Desktop.
Adding Google fonts
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
<!-- Some special fonts --> | |
/* Single font load*/ | |
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Droid+Serif"> | |
/* Multiple font load*/ | |
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Nobile|Droid+Serif|Old+Standard+TT|Droid+Sans"><!-- Some special fonts --> |
In your CSS:
body {
font-family: 'Droid Serif', serif; font-size: 48px;
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use this to add the Google font API. This lets you use some new cool-looking fonts on your website that all browsers and computers will display properly – so you don’t have to mess with installing fonts separately for your website or hoping your visitors have the appropriate fonts (which no self-respecting designer would do anyway).