Skip to content

Instantly share code, notes, and snippets.

@Yukaii
Created April 17, 2015 06:27
Show Gist options
  • Save Yukaii/bd7c055811ad3cfc8a3a to your computer and use it in GitHub Desktop.
Save Yukaii/bd7c055811ad3cfc8a3a to your computer and use it in GitHub Desktop.
Google Chinese Webfont
<!DOCTYPE html>
<html>
<head>
<title>一點 Google 中文字體的淺嚐即止</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="container">
<h1 class="song">結我的來達相能維多</h1>
<p class="hei">
技保工多安來得大壓動過絕具一健表美組入千重好家我果天:外發老發考來史數不子語英似門賽不不修展生身是接故他止羅話是一人高國生遠。是下未結:體的動。
</p>
<p class="ming">
研票興:少藝護是。傳麼應年不別的過軍謝相死情銷成,了經下北標面陸,是益續親人期不商裡舉有爸修廣會你、發世員小量日下求之認足放求高間整同?分生流說什治智政隨重。
</p>
<p class="kai">
把民了;綠說證沒西這水首華開來色收個了為!老產可又容,造服中關業生出教岸做向樣紀期實口是有業最每為爸洋住能沒他起賽超:題表問然片從時,正或式重持人獎成時,等東上口型,把女的麼子內他,不說已者我筆死選……大他可前多夜快連財自獨活因來上心洲師我可現功,態家字人不選笑灣我係,會之斷岸天以這乎開讓用之得。
</p>
<p class="xyen">
體表多是生度面解頭直。香到理於不,條師積上?所代角過不中為天部連道裡仍一人省個解飛地人全我策行像!
</p>
</div>
</body>
</html>
@import url(http://fonts.googleapis.com/earlyaccess/cwtexyen.css);
@import url(http://fonts.googleapis.com/earlyaccess/cwtexming.css);
@import url(http://fonts.googleapis.com/earlyaccess/cwtexhei.css);
@import url(http://fonts.googleapis.com/earlyaccess/cwtexfangsong.css);
@import url(http://fonts.googleapis.com/earlyaccess/cwtexkai.css);
p {
font-size: 2em;
}
h1 {
font-size: 4em;
}
.container {
max-width: 650px;
margin: 0 auto;
padding: 0 2%;
}
.hei {
font-family: 'cwTeXHei', serif;
}
.song {
font-family: 'cwTeXFangSong', serif;
}
.ming {
font-family: 'cwTeXMing', serif;
}
.kai {
font-family: 'cwTeXKai', serif;
}
.xyen {
font-family: 'cwTeXYen', serif;
}
@Yukaii
Copy link
Author

Yukaii commented Apr 17, 2015

img1
img2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment