|
|
|
# Iconfont
|
|
|
|
|
|
|
|
- category: CSS
|
|
|
|
- chinese: 字体图标
|
|
|
|
- order: 1
|
|
|
|
- nodemos: true
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## 如何使用
|
|
|
|
|
|
|
|
我们对每个图标都采用了语义化的命名,使用时所有的图标都需要一个基类 `.anticon` 和对应每个图标的类。在这里,我们使用 `<span>` 标签,如下面代码演示使用即可~
|
|
|
|
|
|
|
|
```html
|
|
|
|
<span class="anticon anticon-link"></span>
|
|
|
|
```
|
|
|
|
|
|
|
|
## 图标列表
|
|
|
|
|
|
|
|
### 一. 方向性图标
|
|
|
|
<ul class="row anticons-list fn-clear">
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-step-backward"></span>
|
|
|
|
<span class="anticon-class">step-backward</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-step-forward"></span>
|
|
|
|
<span class="anticon-class">step-forward</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-fast-backward"></span>
|
|
|
|
<span class="anticon-class">fast-backward</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-fast-forward"></span>
|
|
|
|
<span class="anticon-class">fast-forward</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-shrink"></span>
|
|
|
|
<span class="anticon-class">shrink</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-arrow-salt"></span>
|
|
|
|
<span class="anticon-class">arrow-salt</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-caret-down"></span>
|
|
|
|
<span class="anticon-class">caret-down</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-caret-up"></span>
|
|
|
|
<span class="anticon-class">caret-up</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-caret-left"></span>
|
|
|
|
<span class="anticon-class">caret-left</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-caret-right"></span>
|
|
|
|
<span class="anticon-class">caret-right</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-caret-circle-right"></span>
|
|
|
|
<span class="anticon-class">caret-circle-right</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-caret-circle-left"></span>
|
|
|
|
<span class="anticon-class">caret-circle-left</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-caret-circleo-right"></span>
|
|
|
|
<span class="anticon-class">caret-circleo-right</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-caret-circleo-left"></span>
|
|
|
|
<span class="anticon-class">caret-circleo-left</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-angle-circle-right"></span>
|
|
|
|
<span class="anticon-class">angle-circle-right</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-angle-circle-left"></span>
|
|
|
|
<span class="anticon-class">angle-circle-left</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-angle-circleo-right"></span>
|
|
|
|
<span class="anticon-class">angle-circleo-right</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-angle-circleo-left"></span>
|
|
|
|
<span class="anticon-class">angle-circleo-left</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-angle-double-right"></span>
|
|
|
|
<span class="anticon-class">angle-double-right</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-angle-double-left"></span>
|
|
|
|
<span class="anticon-class">angle-double-left</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-angle-verticle-right"></span>
|
|
|
|
<span class="anticon-class">angle-verticle-right</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-angle-verticle-left"></span>
|
|
|
|
<span class="anticon-class">angle-verticle-left</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-forward"></span>
|
|
|
|
<span class="anticon-class">forward</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-backward"></span>
|
|
|
|
<span class="anticon-class">backward</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-rollback"></span>
|
|
|
|
<span class="anticon-class">rollback</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-retweet"></span>
|
|
|
|
<span class="anticon-class">retweet</span>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
### 二. 提示建议性图标
|
|
|
|
|
|
|
|
<ul class="anticons-list fn-clear">
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-question"></span>
|
|
|
|
<span class="anticon-class">question</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-question-circle"></span>
|
|
|
|
<span class="anticon-class">question-circle</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-question-circleo"></span>
|
|
|
|
<span class="anticon-class">question-circleo</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-plus"></span>
|
|
|
|
<span class="anticon-class">plus</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-plus-circle"></span>
|
|
|
|
<span class="anticon-class">plus-circle</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-plus-circleo"></span>
|
|
|
|
<span class="anticon-class">plus-circleo</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-pause"></span>
|
|
|
|
<span class="anticon-class">pause</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-pause-circle"></span>
|
|
|
|
<span class="anticon-class">pause-circle</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-pause-circleo"></span>
|
|
|
|
<span class="anticon-class">pause-circleo</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-minus"></span>
|
|
|
|
<span class="anticon-class">minus</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-minus-circle"></span>
|
|
|
|
<span class="anticon-class">minus-circle</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-minus-circleo"></span>
|
|
|
|
<span class="anticon-class">minus-circleo</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-info-circle"></span>
|
|
|
|
<span class="anticon-class">info-circle</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-info-circleo"></span>
|
|
|
|
<span class="anticon-class">info-circleo</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-info"></span>
|
|
|
|
<span class="anticon-class">info</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-exclamation"></span>
|
|
|
|
<span class="anticon-class">exclamation</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-exclamation-circle"></span>
|
|
|
|
<span class="anticon-class">exclamation-circle</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-exclamation-circleo"></span>
|
|
|
|
<span class="anticon-class">exclamation-circleo</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-cross-circleo"></span>
|
|
|
|
<span class="anticon-class">cross-circleo</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-cross-circle"></span>
|
|
|
|
<span class="anticon-class">cross-circle</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-cross"></span>
|
|
|
|
<span class="anticon-class">cross</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-check-circleo"></span>
|
|
|
|
<span class="anticon-class">check-circleo</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-check-circle"></span>
|
|
|
|
<span class="anticon-class">check-circle</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-check"></span>
|
|
|
|
<span class="anticon-class">check</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-clock-circle"></span>
|
|
|
|
<span class="anticon-class">clock-circle</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-clock-circleo"></span>
|
|
|
|
<span class="anticon-class">clock-circleo</span>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
### 三. 网站通用图标
|
|
|
|
|
|
|
|
<ul class="anticons-list fn-clear">
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-lock"></span>
|
|
|
|
<span class="anticon-class">lock</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-android"></span>
|
|
|
|
<span class="anticon-class">android</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-apple"></span>
|
|
|
|
<span class="anticon-class">apple</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-area-chart"></span>
|
|
|
|
<span class="anticon-class">area-chart</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-bar-chart"></span>
|
|
|
|
<span class="anticon-class">bar-chart</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-bars"></span>
|
|
|
|
<span class="anticon-class">bars</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-booko"></span>
|
|
|
|
<span class="anticon-class">booko</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-calendar"></span>
|
|
|
|
<span class="anticon-class">calendar</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-cloud"></span>
|
|
|
|
<span class="anticon-class">cloud</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-cloud-download"></span>
|
|
|
|
<span class="anticon-class">cloud-download</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-code"></span>
|
|
|
|
<span class="anticon-class">code</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-copy"></span>
|
|
|
|
<span class="anticon-class">copy</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-credit-card"></span>
|
|
|
|
<span class="anticon-class">credit-card</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-delete"></span>
|
|
|
|
<span class="anticon-class">delete</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-desktop"></span>
|
|
|
|
<span class="anticon-class">desktop</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-download-line"></span>
|
|
|
|
<span class="anticon-class">download-line</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-edit"></span>
|
|
|
|
<span class="anticon-class">edit</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-ellipsis"></span>
|
|
|
|
<span class="anticon-class">ellipsis</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-environment"></span>
|
|
|
|
<span class="anticon-class">environment</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-fileo"></span>
|
|
|
|
<span class="anticon-class">fileo</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-file-texto"></span>
|
|
|
|
<span class="anticon-class">file-texto</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-foldero"></span>
|
|
|
|
<span class="anticon-class">foldero</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-folder-openo"></span>
|
|
|
|
<span class="anticon-class">folder-openo</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-github"></span>
|
|
|
|
<span class="anticon-class">github</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-hddo"></span>
|
|
|
|
<span class="anticon-class">hddo</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-frown"></span>
|
|
|
|
<span class="anticon-class">frown</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-meho"></span>
|
|
|
|
<span class="anticon-class">meho</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-inbox"></span>
|
|
|
|
<span class="anticon-class">inbox</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-laptop"></span>
|
|
|
|
<span class="anticon-class">laptop</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-large"></span>
|
|
|
|
<span class="anticon-class">large</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-line-chart"></span>
|
|
|
|
<span class="anticon-class">line-chart</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-link"></span>
|
|
|
|
<span class="anticon-class">link</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-lock1"></span>
|
|
|
|
<span class="anticon-class">lock1</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-logout"></span>
|
|
|
|
<span class="anticon-class">logout</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-mail"></span>
|
|
|
|
<span class="anticon-class">mail</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-menu-fold"></span>
|
|
|
|
<span class="anticon-class">menu-fold</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-menu-unfold"></span>
|
|
|
|
<span class="anticon-class">menu-unfold</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-mobile"></span>
|
|
|
|
<span class="anticon-class">mobile</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-notification"></span>
|
|
|
|
<span class="anticon-class">notification</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-paper-clip"></span>
|
|
|
|
<span class="anticon-class">paper-clip</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-pictureo"></span>
|
|
|
|
<span class="anticon-class">pictureo</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-pie-chart"></span>
|
|
|
|
<span class="anticon-class">pie-chart</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-poweroff"></span>
|
|
|
|
<span class="anticon-class">poweroff</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-reload"></span>
|
|
|
|
<span class="anticon-class">reload</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-search"></span>
|
|
|
|
<span class="anticon-class">search</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-setting"></span>
|
|
|
|
<span class="anticon-class">setting</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-share-alt"></span>
|
|
|
|
<span class="anticon-class">share-alt</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="anticon anticon-shopping-cart"></span>
|
|
|
|
<span class="anticon-class">shopping-cart</span>
|
|
|
|
</li>
|
|
|
|
<li |