• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

nickpolet/webdev-font: Icon font for web development

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

nickpolet/webdev-font

开源软件地址:

https://github.com/nickpolet/webdev-font

开源编程语言:

HTML 72.9%

开源软件介绍:

webdev-font

Header Image

Icon font for popular web frameworks and web related technologies. Currently contains 110+ icons.

Show me the icons

Getting Started

Using a CDN

To get started quickly, paste the following snippet within the head tag of your .html file

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/nickpolet/webdev-font@latest/dist/webdev-font.min.css">

Going DIY

If you would like to manually include the font in your project, download the project and place the "dist" folder somewhere accessible to your html code. You can then link the to the css file using the standard...

<link rel="stylesheet" href="/path/to/dist/webdev-font.min.css">

Usage

If you've used font-awesome or one of the many font icon sets out there, then you find this very simple (just replace "fa" with "wd"). It uses the following syntax to display the icons,

<i class="wd wd-angular"></i>
<i class="wd wd-phoenix"></i>
<i class="wd wd-meteor"></i>
<i class="wd wd-laravel"></i>
etc...

Icon Suggestions

If you would like to see a new icon included in the set, please create an issue on github. I will be happy to consider adding any icon that fits within the general theme of general web development.

Adding your own icons

First of all, we'll need to clone this git repository with

git clone https://github.com/nickpolet/webdev-font.git

Then we'll need to install the javascript dependancies.

yarn install

Add your own icons into the assets/icons folder. At the moment, these need to be SVG files, with the canvas set to 1000 x 1000px. You can use inkscape or any other vector graphics program to create these.

Once you've added in any icons, run

yarn run build

The generated CSS and font files will be available into the 'dist' folder. There is also a 'webdev-font.html' file which is this the same as this page, but with any updated icons.

Happy Developing




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap