Skip to main content

Octicons

Dev

Your project. GitHub’s icons.

GitHub 也發佈了一套 Font-Icon。有興趣的可與去官網下載使用。

官方網站: http://octicons.github.com/

使用方法跟其它 Font-Icon 一樣,先加載下载回来的加压文件,解压后添加 stylesheet 到你的 Project。添加圖標就用 class 名。

例如:

Code 圖標

<!-- for 16px icons -->
<span class="octicon octicon-gist"></span>

<!-- for 32px icons -->
<span class="mega-octicon octicon-gist"></span>

GitHub 也有人整理了一些開源的 Font-Icon: https://github.com/showcases/icon-fonts