iu
求教CSS图标库的写法,也就是先做雪碧图,然后写一个css表,用的时候直接用class就可以了
这样的表怎么做啊?
谁写个简单的例子
伊谢尔伦2017-04-17 11:41:40
NO,NO,NO
You think too simply.
All icon fonts, written in SVG
If you still don’t know what SVG is, search on Baidu or Google and you will know that, to put it simply, it is an image markup language that can be directly embedded in HTML, that is, you can draw vector graphics using code, so now you Got it
PHPz2017-04-17 11:41:40
Manually making sprite graphics has become a thing of the past and is very inefficient.
You can try:
1. Drawing
2. Write css with unified rules
3. Use it when publishing The front-end process tool fis3 merges the small pictures that reference resources into a sprite picture and packages it online
阿神2017-04-17 11:41:40
You can use Alibaba icons to do this. I made an online icon library using Alibaba icons