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 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!