-
-
Notifications
You must be signed in to change notification settings - Fork 194
Webfont version
Note: Since v2.2 webfont version isn't regularly released anymore. This guide is rather for those using <v2.1.
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 ofclass="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.