Skip to content
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.

Webfont version

Martin Allien edited this page Mar 9, 2017 · 5 revisions

Note: Since v2.2 webfont version isn't regularly released anymore. This guide is rather for those using <v2.1.


Webfont version

First download Cryptocoins and extract its contents.

Webfont is ideal when you want to use majority of Cryptocoins icons. Copy "fonts" folder and "cryptocoins.css" styles to your project and link Cryptocoins CSS in your project (you can optionally include also "cryptocoins-colors.css" if you want to use predefined colors):

<!-- CSS defining icons (required) -->
<link rel="stylesheet" href="css/cryptocoins.css">

<!-- CSS defining icon/coin colors (optional) -->
<link rel="stylesheet" href="css/cryptocoins-colors.css">

Then insert your icons in HTML, e.g.:

Important: Since 2.0 update, you need to implement icons via class="cc BTC" (with a space) instead of class="cc-BTC" (with a hyphen), otherwise they won't work. Why? This way they will work well with other iconpacks (like Font Awesome).

<i class="cc BTC"></i>

If you're familiar with Font Awesome, it's pretty much the same. You'll find the CSS references in file names.

Clone this wiki locally