search

Home  >  Q&A  >  body text

css3 - 求教CSS图标库的写法,也就是先做雪碧图,然后写一个css表,用的时候直接用class就可以了

iu
求教CSS图标库的写法,也就是先做雪碧图,然后写一个css表,用的时候直接用class就可以了

这样的表怎么做啊?
谁写个简单的例子

高洛峰高洛峰2866 days ago622

reply all(4)I'll reply

  • ringa_lee

    ringa_lee2017-04-17 11:41:40

    http://iconfont.cn/help/platform.html I did it all here

    reply
    0
  • 伊谢尔伦

    伊谢尔伦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

    reply
    0
  • PHPz

    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

    reply
    0
  • 阿神

    阿神2017-04-17 11:41:40

    You can use Alibaba icons to do this. I made an online icon library using Alibaba icons

    reply
    0
  • Cancelreply