Pure vanilla JS – no dependencies.
css/ - CSS source (stylus + nib) of the example
dist/ - deck.js & deck.min.js
example/ - http://deck-of-cards.js.org
lib/ - JS (ES6) source of deck.js
views/ - HTML source of the example
npm install
npm start
(starts watching for changes..)
- Make z-index temporary by reordering DOM elements between actions
- Fix moving
- Make API more open
- Make cards flippable
- Maybe use translate3d for even better performance, but make that temporary because of the smoothing issue