Created
March 28, 2017 08:26
-
-
Save appgiga-code/a9651b464e69245dd62d7d544a350807 to your computer and use it in GitHub Desktop.
Calligraphrを使ったサンプルコード
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Calligraphrサンプル</title> | |
<style> | |
@font-face { | |
font-family: 'myfont'; | |
src: url('fonts/myfont.ttf') format('truetype'); | |
} | |
body { | |
font-family: 'myfont'; | |
font-size: 48px; | |
} | |
</style> | |
</head> | |
<body> | |
<h1 contentEditable="true"></h1> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment