How to convert a small SVG image into an html font chart,
Use Case of self-made simple font chart: View demo
Procedure:
1: log on to the production tool online website
Https://icomoon.io/
2: red in the upper right corner
Button to go to: https://icomoon.io/app/#/select
3: Click imports icons in the upper left corner.
Button to import your own svg image and then upload it to the online website
4: Click to select the uploaded small chart, as shown in the following figure.
5: Click
The button automatically generates a font chart.
You can introduce the corresponding fonts and css to the class specified by the element as follows .. Is it amazing ~~
6: the upper left corner shows the basic settings for generating the font chart. After setting the settings, click
Download button to download the created font chart. After decompression, there will be the corresponding fonts and css files. These two are required files!
In this way, you can flexibly change the font size and color, which is far more convenient than using images directly!