Skip to content

Commit 6416508

Browse files
committed
bug fix; 添加对照组
1 parent 94114ba commit 6416508

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

fonticon.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,18 @@
1212
url('http://at.alicdn.com/t/font_1425368696_9550455.svg#iconfont') format('svg'); /* iOS 4.1- */
1313
}
1414
.icon {
15-
font-family: font-face;
15+
font-family: iconfont;
1616
}
1717
</style>
1818
</head>
1919
<body>
2020
<div>
21-
&#xe600; 效果:
22-
<span class="icon">&#xe600;</icon>
21+
<p>未添加 font-family 的效果:
22+
<span>&#xe600;</span>
23+
</p>
24+
<p>添加 font-family 的效果:
25+
<span class="icon">&#xe600;</icon>
26+
</p>
2327
<div>
2428
</body>
2529
</html>

0 commit comments

Comments
 (0)