forked from Codepoints/grumpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.html
30 lines (30 loc) · 1.12 KB
/
demo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Grumpy Emoji: Demo</title>
<link rel="stylesheet" href="grumpy.css">
<style>
body { font-family: Grumpy, sans-serif; }
big { font-size: 3em; line-height: 0; }
</style>
</head>
<body>
<main>
<h1>Grumpy Emoji: Demo</h1>
<p>Embed the CSS in your page and set the <code>font-family</code> to
include “Grumpy”:</p>
<pre><link rel="stylesheet" href="grumpy.css">
<style>body { font-family: Grumpy, sans-serif; }</style></pre>
<p>Make sure that the font files are in the same directory as grumpy.css.
Then, use emoji or dingbats from <a
href="http://unicode.org">Unicode</a>, for example, codepoint <a
href="http://codepoints.net/U+263A">U+263A WHITE SMILING FACE</a>:</p>
<pre>&#x263A;</pre>
<p>(Or place the character directly in the text.) The glyph used to
render this dingbat is the grumpy cat:<br><br><br><big>☺</big></p>
<p>Project website: <a
href="http://codepoints.github.io/grumpy/">codepoints.github.io/grumpy</a></p>
</main>
</body>
</html>