在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:nickpolet/webdev-font开源软件地址:https://github.com/nickpolet/webdev-font开源编程语言:HTML 72.9%开源软件介绍:webdev-fontIcon font for popular web frameworks and web related technologies. Currently contains 110+ icons. Show me the iconsGetting StartedUsing a CDNTo get started quickly, paste the following snippet within the head tag of your .html file
Going DIYIf 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...
UsageIf 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,
Icon SuggestionsIf 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 iconsFirst of all, we'll need to clone this git repository with
Then we'll need to install the javascript dependancies.
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
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 |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论