Thursday, May 20, 2010

Google Font API in blogger

Google Font API in blogger

Google made announcement about Font API in Google you can read from here Google Font . How to use Google font api is very easy.

Feature of this font is :

  • Support Ie 6
  • Host by Google ( big bandwidth and Cache in your browser)
  • Using @font-face
  • Will have many type of font

How to use in blogger is very easy this is one example I put in blogger :

 <link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'/> <style> h1 { font-family: &#39;Lobster&#39;, arial, serif; } h3 { font-family: &#39;Lobster&#39;, arial, serif; } .post-body { font-family: &#39;Lobster&#39;, arial, serif; } </style&gt 

I use the Font for h1, h3 and post-body class
If you want to change type of the font you can select from here

Demo


0 komentar:

Post a Comment

 
Tutorial Blog Copyright © 2010 Blogger Template