代码编辑器:
x
1
2
<meta charset="utf-8" />
3
<link rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.css">
4
<h1>fa fa-fonticons</h1>
5
6
<i class="fa fa-fonticons"></i>
7
<i class="fa fa-fonticons" style="font-size:24px"></i>
8
<i class="fa fa-fonticons" style="font-size:36px"></i>
9
<i class="fa fa-fonticons" style="font-size:48px;color:red"></i>
10
11
12
<h2 style="border-bottom:1px solid #ddd">按钮中使用</h2>
13
14
<button style="font-size:22px">按钮 <i class="fa fa-fonticons"></i></button>
15
16
<h3 style="border-bottom:1px solid #ddd">Unicode</h3>
17
<i style="font-size:22px" class="fa"></i>