HTML5扑克牌:HTML5 Deck of Cards
纯JS实现的HTML5扑克牌。
示例:http://deck-of-cards.js.org
Version history
- 0.0.2 made intro shorter & added "poker"
- 0.0.1 initial version
Where's what?
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
Build instructions
npm install npm start
(starts watching for changes..)
Note to self: todo
- Make z-index temporary by reordering DOM elements between actions
- Fix moving
- Enhance API, make more generic
- Make cards flippable
- Maybe use translate3d for even better performance, but make that temporary because of the smoothing issue
本文由用户 ygp8 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!