-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (33 loc) · 1.35 KB
/
index.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html>
<head>
<title>Fonts [Nov 5th 2014]</title>
<style>
body.turtle {
/*only apply the intended fallback to places we want the right font*/
font-family: helvetica, sans-serif;
}
.wf-active body.turtle {
/*when the font loads then do this*/
font-family: "Turtle Handwriting", helvetica, sans-serif;
}
</style>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/webfont/1.4.7/webfont.js"></script>
<script type="text/javascript">
var WebFontConfig = WebFont.load({
custom: {
families: ['Turtle Handwriting:n4,i4,n7'],
urls: ['fonts.css']
}
});
// var s = document.createElement('script');
// s.src = '//ajax.googleapis.com/ajax/libs/webfont/1.4.7/webfont.js';
// document.head.appendChild(s);
</script>
</head>
<!-- .benton-loading .benton-loaded -->
<body class="turtle">
<h1>This is a heading</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</body>
</html>