-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (50 loc) · 1.26 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
47
48
49
50
51
52
53
54
55
56
57
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SVG Icon Font</title>
</head>
<style>
@font-face {
font-family: 'myfont';
src: url('./fonts/myfont/myfont.eot');
src: url('./fonts/myfont/mylib.eot?#iefix') format('embedded-opentype'),
url('./fonts/myfont/myfont.woff2') format('woff2'),
url('./fonts/myfont/myfont.woff') format('woff'),
url('./fonts/myfont/myfont.ttf') format('truetype'),
url('./fonts/myfont/myfont.svg?#myfont') format('svg');
font-weight: normal;
font-style: normal;
}
[class*="fg-"]:before {
font-family: "myfont";
font-style: normal;
font-weight: normal;
font-size: 20px;
display: inline-block;
text-decoration: inherit;
width: 1em;
margin-right: .2em;
text-align: center;
font-variant: normal;
text-transform: none;
line-height: 1em;
margin-left: .2em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.fg-home:before {
content: '\e001';
}
.fg-dashboard:before {
content: '\e002';
}
.fg-task:before {
content: '\e003';
}
</style>
<body>
<span class="fg-home"></span>
<span class="fg-dashboard"></span>
<span class="fg-task"></span>
</body>
</html>