同步操作将从 theajack/easy-icon 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Online trial | Github | Gitee | 中文
[TOC]
Easy-ICON is a high-value, easy-to-use web font icon library, you only need to introduce a css file (or an npm package), you can simply use more than 1,000 beautiful icons
The following is a simple example introduced by the css file
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/theajack/easy-icon/dist/easy-icon-all.css">
</head>
<body>
<i class="ei-heart ei-xs" style="color: red;"></i>
<i class="ei-spinner-indicator ei-spin"></i> <!--A rotating loading-->
<i class="ea-star-half-empty"></i>
<i class="et-like ei-l"></i>
<i class="ef-html5 ei-xl"></i>
<i class="el-goods ei-4x"></i>
</body>
</html>
Effect picture:
😃 Experience 1583 icons online
Easy-ICON is a easy to use web font icon lib
Easy-ICON uses multiple icon libraries, such as Font-Awesome, to thank the original author for their contributions!
Features:
Easy-icon is divided into five modules, which can be referenced independently
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/theajack/easy-icon/dist/easy-icon.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/theajack/easy-icon/dist/easy-icon-a.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/theajack/easy-icon/dist/easy-icon-f.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/theajack/easy-icon/dist/easy-icon-t.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/theajack/easy-icon/dist/easy-icon-l.css">
Or use a collection version
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/theajack/easy-icon/dist/easy-icon-all.css">
npm i easy-icon;
You only need to import once:
Same as css file reference, can be referenced independently by module, without using all
import 'easy-icon';
import 'easy-icon/easy-icon-a.js';
import 'easy-icon/easy-icon-f.js';
import 'easy-icon/easy-icon-t.js';
import 'easy-icon/easy-icon-l.js';
Or use a collection version
import 'easy-icon/easy-icon-all.js';
It's very easy to use, you just need to insert the tag anywhere:
<i class="ei-spmile"></i>
It should be noted that the prefixes corresponding to the five modules are different, respectively
You can add the ei-spin class to spin the icon:
<i class="ei-spinner-snake ei-spin"></i>
The ei-spin class behaves consistently for the five modules
Easy-icon comes in eight sizes to choose from, from small to large:xs,s,l,lg,2x,3x,4x,5x
The size class performs the same for the five modules
<i class="ei-smile ei-s"></i>
<i class="ei-smile ei-xs"></i>
Of course, you can use css to customize any style.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。