Getting started
Quick start
included html
<link rel="stylesheet" href="css/crypto-currency-icon.css">
Install with npm:
$ npm install crypto-currency-icon
SCSS
@import "/node_modules/crypto-currency-icon/dist/crypto-currency-icon.css";
HTML
Bitcoin
<p class="icon cryptoCoin btc"></p>
Ripple
<p class="icon cryptoCoin xrp"></p>
add Size Variation.
<p class="icon cryptoCoin xrp small"></p>
Icon Size
size (px) | css className | images |
---|---|---|
14px × 14px | mini | |
20px × 20px | small | |
30px × 30px | medium | |
50px × 50px | large | |
100px × 100px | big |
Clone the repo:
$ git clone git@github.com:webcyou/crypto-currency-icon.git
Start Develop
npm install
If necessary, install Hugo and other Go.
brew install hugo
npm run start
Open http://localhost:1313
in your browser.