0.1.8 • Published 6 years ago
crypto-currency-icon v0.1.8
crypto-currency-icon
APB CSS (Atomic Parts Base CSS) Architecture Base CryptoCurrency Icon CSS Style
Table of contents
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
example:
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 CSS Class
size (px) | css className | images |
---|---|---|
14px × 14px | mini | |
20px × 20px | small | |
30px × 30px | medium | |
50px × 50px | large | |
100px × 100px | big |
Retina Display Image size.
Clone the repo:
$ git clone --recursive git@github.com:webcyou/crypto-currency-icon.git
Documentation
CryptoCurrency Icon CSS Style documentation, included in this repo in the root directory, is built with Hugo.
Start Develop
Clone the repo:
$ git clone --recursive git@github.com:webcyou/crypto-currency-icon.git
$ cd crypto-currency-icon
$ npm install
If necessary, install Hugo and other Go.
$ brew install hugo
$ npm run start
Open http://localhost:1313
in your browser.
Creators
Daisuke Takayama
Copyright and license
MIT