Font Awesome

fa是什么?

图标字体库和CSS框架

怎么用?

<link

rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.css">

有哪些可用?

范例?

<!DOCTYPE html>

<html>

<head>

<title>Font Awesome 图标</title>

<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.css">

</head>

<body>

<h1>fa fa-address-card-o</h1>

<i class="fa fa-address-card-o"></i>

<i class="fa fa-address-card-o" style="font-size:24px"></i>

<i class="fa fa-address-card-o" style="font-size:36px"></i>

<i class="fa fa-address-card-o" style="font-size:48px;color:red"></i>

<br>

<p>按钮中使用:</p>

<button style="font-size:24px">

按钮

<i class="fa fa-address-card-o"></i>

</button>

<p>Unicode:</p>

<i style="font-size:24px" class="fa">&#xf2bc</i>

</body>

</html>

参考:

http://www.runoob.com/font-awesome/fontawesome-tutorial.html

http://www.runoob.com/font-awesome/fontawesome-reference.html

;

最新文章

  1. C# 多线程之Task资料
  2. django多条件筛选搜索(项目实例)
  3. meta name=&quot;viewport&quot; content=&quot;width=device-width,initial-scale=1.0&quot; 解释
  4. Visual Studio Enterprise 2015下载 Update3
  5. SharePoint 2010 文档管理系列之星级评论功能
  6. 【分布式存储】GlusterFS failing to mount at boot with Ubuntu 14.04
  7. windows tomcat 优化
  8. WebService使用JSON格式传递笔记+JQuery测试
  9. webstoem自动编译less文件
  10. Wpf之布局
  11. Linux下jira自启动设置
  12. UVA11039-Building designing
  13. java虚拟机参数设置 jvm参数设置
  14. NormalDialogFragmentDemo【普通页面的DialogFragment】
  15. intellij idea 官方帮助文档翻译(一)安装
  16. Tornado创建一个web服务
  17. (转)Spring Boot 2 (四):使用 Docker 部署 Spring Boot
  18. java抽象类与接口回顾
  19. Django权限auth模块详解
  20. 1.2.2实现Runnable接口

热门文章

  1. 【JUnit】Junit命令行执行、参数化执行、Main方法执行
  2. selenium的PageObject设计模式
  3. testng执行报错:org.testng.TestNGException: Cannot find class in classpath
  4. win10企业版激活密钥
  5. Windows为什么双击打开‘我的电脑’, 没有了‘前进’‘ 后退’‘向上’等按钮?
  6. react-native 组件默认属性(defaultProps) 及 属性类型验证(PropTypes)
  7. Velocity.js动画库使用
  8. Linux vim命令记录
  9. 将apache添加到服务
  10. jenkins构建java项目找不到命令mvn,java的解决方法