1.0.1 • Published 8 years ago

octocat-icon-font v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

octocat-icon-font

Version License

GitHub octocat icon font / Fork me icon

Usage

You can install it by using npm:

npm install --save octocat-icon-font

Include CSS file:

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

Add classes:

<!-- on bottom left -->
<a href="#" class="octocat-icon open-eyes octocat-md octocat-bl"></a>
<!-- be shy on top right -->
<a href="#" class="octocat-icon octocat-md octocat-tr octocat-shy-t"></a>

Classes

Base

  • octocat-icon: Basic class that define the font icon.

Type

  • close-eyes: Octocat with eyes closed (no eye).
  • open-eyes: Octocat with eyes open.

Size

  • octocat-sm: Small.
  • octocat-md: Middle.
  • octocat-lg: Large.
  • octocat-x-lg: Very large.
  • octocat-xx-lg: Very very large.
  • octocat-xxx-lg: Very very very large.

Position

  • octocat-t: Fix on top.
  • octocat-b: Fix on bottom.
  • octocat-tl: Fix on top left.
  • octocat-tr: Fix on top right.
  • octocat-bl: Fix on bottom left.
  • octocat-br: Fix on bottom right.

Effect

  • octocat-shy-t: Be shy on top.
  • octocat-shy-b: Be shy on bottom.

Demo