30个免费网页图标字体以及使用方法
文章来源:http://sc.chinaz.com/info/130228237055.htm 设计达人
版权: Free for personal or commercial projects
图标整理自:http://speckyboy.com/2013/02/20/free-icon-font-sets/
在网页设计中使用图标字体(icon font)是件挺有新意的事情,使用图标字体能我们带来了一定的方便,比如在移动设备、Retina屏幕效果展示、兼容IE6/7浏览器以及能任意将图标放大缩小等,这些都是很不错的。下面为大家简单介绍下利用icomoon来实现网页字体和分享30个免费网页图标字体。
流行的在线字体定制网站有Fontello和icomoon,这两个在线工具都很不错的,内置的图标也非常的多,当然在我今天分享的文章中的图标字体更多更实用更好哦^.^ 接下来我主要讲讲icoMoon的字体定制方法:
打开icoMoon APP字体定制页面,然后你会看到几百个常用图标,这里不建议全选,选几个你需要的就可以了,然后点击底部的“Font”按钮 –> 点击“Download”即可下载字体。
字体使用
下载完字体后,把Demo文件里面的style.css文件内容复制至你的CSS文件上。
1 2 3 4 5 6 7 8 9 10 11 12 | @font-face { font-family : 'shejidaren' ; src : url ( 'fonts/shejidaren.eot' ); src : url ( 'fonts/shejidaren.eot?#iefix' ) format ( 'embedded-opentype' ), url ( 'fonts/shejidaren.woff' ) format ( 'woff' ), url ( 'fonts/shejidaren.ttf' ) format ( 'truetype' ), url ( 'fonts/shejidaren.svg#shejidaren' ) format ( 'svg' ); font-weight : normal ; font-style : normal ; } ...省略了啦 |
HTML代码,有两个调用方法,而且两个都很简单:
1.使用data-icon=”?”,这个是HTML5的属性哦~~
1 | < a href="#">< span data-icon="?" aria-hidden="true"></ span >帮助</ a > |
2.使用Class类
1 | < span aria-hidden="true" class="icon-help"></ span > |
使用原创Icon方法
也许有些同学喜欢自己原创,当然也是可以滴,准备工具:Fontlab、Adobe Illustrator。
1. Fontlab:
直接在Fontlab上制作图标字体,完成后点击Fire(文件) –> Export(导出) –> EPS格式。
2. AI:
打开刚刚导出的EPS,另存为SVG格式。
3.iconMoon APP
在icoMoon APP页面点击import Icons按钮,支持多选,然后按上文的方法下载使用即可!
Tips: Fontlab和AI这两个工具的路径是可以相互复制的哦,所以我们用AI来制作ICON方便一些,制作完再复制到Fontlab上,需要注意的是在AI里面的路径画大一点再复制到Fontlab里,否则容易变形。
让网页图标字体兼容IE6/7的浏览器
下载的压缩包有一个lte-ie7.js文件,内嵌至网页内即可。
1 | <!--[if lte IE 7]><script src="lte-ie7.js"></script><![endif]--> |
30个免费网页图标字体下载
接下来一起看看免费开源的图标字体,各种各样的像素图标,我想一定有你需要的。
Elusive Icons
图标数量: 271
版权: SIL – Open Font Licence
MFG Labs Web Icon Set
图标数量: 120
版权: MIT Licence
Font Awesome
图标数量:
版权: SIL Open Font License
Foundation Icons
图标数量: 140
版权: MIT Open Source License
Pictonic Icons
图标数量: 266
版权: Free for personal or commercial projects
Batch Icons
图标数量: 300+
版权: Free for personal or commercial projects
IcoMoon Free Pack
图标数量: 450
版权: CC License 3.0
Iconic Icon Set
图标数量: 171
版权: Creative Commons Share Alike 3.0
Ligature Symbols
图标数量: 250+
版权: SIL Open Font License
Entypo
图标数量: 250
版权: Creative Commons Share Alike 3.0
OpenWeb Icons
图标数量: 54
版权: SIL Open Font License (OFL)
Sosa Icon Font
图标数量: 120
版权: Free for personal or commercial projects
Metro UI Web Font
图标数量: 333
One Div
图标数量: 91
Maki
图标数量: 73
版权: BSD License
PW Drawn Icon Font
图标数量: 80+
版权: Free for personal or commercial use
Premium Pixels Mini Icons
图标数量: 80
版权: Free for personal or commercial use
Fontelico Font
图标数量: 30
版权: Creative Commons Share Alike 3.0
Typicons
图标数量: 88
版权: Free for personal or commercial use
Modern Pictograms
图标数量: 89
版权: Open Font License (OFL)
A Free Icon Web Font
图标数量: 60
版权: SIL Open Font License (OFL)
Modern Pictograms
图标数量: 92
版权: SIL Open Font License (OFL)
Symbol Signs
图标数量: 21
Web Symbols
图标数量: 78
版权: SIL Open Font License (OFL)
Dot Com Font
图标数量: 93
版权: Free for personal use
Social Media Icons
图标数量: 74
版权: Free for personal or commercial projects.
Rondo – Social Icon Font
图标数量: 40
版权: Creative Commons Attribution-ShareAlike 3.0
JustVector Social Icons Font
图标数量: 30
Social Media Glyph Set
图标数量: 30
版权: Free for personal or commercial projects
Meteocons
图标数量: 40
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· ollama系列01:轻松3步本地部署deepseek,普通电脑可用
· 25岁的心里话
· 按钮权限的设计及实现