简单教程
提交运行
代码编辑器:
<!DOCTYPE html> <meta charset="utf-8" /> <link rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.css"> <h1>fa fa-train</h1> <i class="fa fa-train"></i> <i class="fa fa-train" style="font-size:24px"></i> <i class="fa fa-train" style="font-size:36px"></i> <i class="fa fa-train" style="font-size:48px;color:red"></i> <h2 style="border-bottom:1px solid #ddd">按钮中使用</h2> <button style="font-size:22px">按钮 <i class="fa fa-train"></i></button> <h3 style="border-bottom:1px solid #ddd">Unicode</h3> <i style="font-size:22px" class="fa"></i>
运行结果: