当前位置:网站首页>Icon Font
Icon Font
2022-07-27 13:22:00 【Sorry, this person doesn't exist】
Icon Font
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="/font/css/all.css">
<style> li{
list-style: none; } li::before{
/* Set the icon font through pseudo elements 1. Find the element to set the icon through before or after Choose 2. stay content Set the font encoding in 3. Set the font style fab font-family:'Font Awesome 5 Brands'; fas font-family:'Font Awesome 5 Free'; font-weight:900; */ content: '\f1b0'; font-family: 'Font Awesome 5 Free'; font-weight: 900; color: blue; margin-right: 10px; } </style>
</head>
<body>
<!-- Icon Font (iconfont) - Icons are often used in web pages , Icons can be introduced through pictures But the size of the picture itself is large , And very inflexible - So when using icons , We can also set the icon directly to the font , Then, after that font-face To introduce fonts in the form of - In this way, we can use icons in the form of fonts font awesome Use steps 1. download Download from the official English website 2. decompression 3. take css and webfonts Move to project 4. take all.css Introduce into web pages 5. Use icon Fonts - Use the icon font directly through the class name class="fas fa-bell" class="fab fa-accessible-icon" -->
<!-- <i class="fas fa-bell"></i> -->
<ul>
<li>
Hoe standing grain gradually pawning a midday
</li>
<li>...</li>
</ul>
<!-- Using icon fonts through entities : &#x Code of icon ; -->
<span class="fas"></span>
</body>
</html>
边栏推荐
- What should I do if I can't see any tiles on SAP Fiori launchpad?
- Poj1548 robots [bipartite graph minimum path coverage]
- Initializing database error after reinstalling MySQL
- Firefox 103 release, faster and more secure
- 高度塌陷最终解决方案(无副作用)
- ECCV2022 | RU&谷歌提出用CLIP进行zero-shot目标检测!
- 面试考点:三种图的问题
- 592. Fraction addition and subtraction: introduction to expression calculation
- Two call processors of feign
- Amd adrenalin 22.7.1 driver update: double the performance of OpenGL and support Microsoft win11 22h2 system
猜你喜欢

From the perspective of it, the CIO of B2B industry talks about how to change from "cost center" to "growth center"?
![[cute new solution] Fibonacci sequence](/img/2d/64cdc8b7625ee7a81275ad25dc2b7a.png)
[cute new solution] Fibonacci sequence

Detail throw and throws

Multi activity disaster recovery construction after 713 failure of station B | takintalks share

Li Kou 1480. Dynamic sum of one-dimensional array 383. Ransom letter 412. Fizz buzz

Open source project - taier1.2 release, new workflow, tenant binding simplification and other functions

v-show

Optimization Practice of Flink OLAP job scheduling and query execution based on ByteDance

JNI程序如何进行参数传递

Gan: generate adversarial networks
随机推荐
Seata's landing practice in ant International Banking
文章复现:SRCNN
Plus SBOM: assembly line BOM pbom
v-text
Do you really understand CMS garbage collector?
C语言犄角旮旯的知识之数组与函数
SQL GROUP BY语句
Perfect guide | how to use ODBC for agent free Oracle database monitoring?
Interview site: three kinds of questions
Forward pre check and reverse pre check
Preliminary discussion on NetGen and Gmsh mesh generation of any multiple sub models of CAD based on osg+occ
完美指南|如何使用 ODBC 进行无代理 Oracle 数据库监控?
Optimization Practice of Flink OLAP job scheduling and query execution based on ByteDance
How to pass parameters in JNI program
Why does the class annotated with @configuration generate cglib proxy?
W3school navigation bar exercise
Overview of famous inner classes and anonymous inner classes
500强企业如何提升研发效能?来看看行业专家怎么说!
Feign的整体流程
高度塌陷和BFC