current position:Home>In simple terms, flask (22): Font Icon of h-ui front-end frame

In simple terms, flask (22): Font Icon of h-ui front-end frame

2021-08-23 09:27:28 caimouse

In the use of H-ui When creating a new web page template , I often encounter some icons to show , These icons are displayed in a special font , Instead of a pixel map , For example, like the following code :

<i class="icon Hui-iconfont">&#xe684;</i>

You can see that the use is a string of numbers :&#xe684;.

What's the point of using it like this ?

First , Let's make up what font icons are : Replace picture files with font files , To show the icons 、 Special fonts and other elements .

advantage :

The loading file is small

Unified display style , Usage method

copyright notice
author[caimouse],Please bring the original link to reprint, thank you.
https://en.qdmana.com/2021/08/20210823092725493k.html

Random recommended