开发者社区> 镜像站> NPM> flip-counter
flip-counter
## install
Last updated 7 years ago by shtylman .
Original npm · Tarball · package.json
$ cnpm install flip-counter 
SYNC missed versions from official npm registry.

flip-counter

install

npm install flip-counter

use

var flipcounter = require('flip-counter');

style

You can either copy the style file to your project, or reference it using npm-css in your style files.

@import 'flip-counter';

All rules are namespaced under flip-counter

image assets

The default stylesheet references image files found at /img/digits.png. You should make sure the img/digits.png is accessible via this path (copy or symlink) or provide your own css rule for the background image.

ln -s ../node_modules/flip-counter/img/digits.png .

If you wish to provide your own rule, see the css/counter.css file for which style to override.

Credits

Based on work by Chris Nanney

License

MIT

Current Tags

  • 0.5.3                                ...           latest (7 years ago)

1 Versions

  • 0.5.3                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None