フリー素材(写真、アイコン、画像、フォント)を紹介しています

Google Font API を使う

ホームページ上で使用できるGoogle提供の無料フォントを使用する。

使い方

フォント Droid Serif を使用する場合

<link  href="http://fonts.googleapis.com/css?family=Droid+Serif" rel="stylesheet" type="text/css" >
<style>
body {
  font-family: "Droid Serif", serif;
  font-size: 28pt;
  font-style: italic;
  font-weight: 400;
  text-shadow: none;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  word-spacing: 0;
  line-height: 1;
}
</style>

http://code.google.com/webfonts/preview



関連エントリー

No.732
04/14 10:26

edit

フォント