Nice animation although card faces need some work. My own CSS playing cards with proper card faces from 3 years ago is here: http://donpark.github.io/scalable-css-playing-cards/
HTML5 Deck of Cards
131–140 of 165 posts
Re: HTML5 Deck of Cards
#132Really nice! An animation for turning the cards and the displaying of the back of the card would be a useful additional feature I guess.
Re: HTML5 Deck of Cards
#133It'd be perfect if the Z-index updated for card last selected. It looks like they're z-indexed in a specific order at the moment?
Re: HTML5 Deck of Cards
#134This is quite nice! One "intuitive-but-counterintuitive" result -- when the cards are stacked and I drag from the corner, I end up pulling a card from the middle of the deck. I suppose that's more for a second library that can manage stacks of cards, dealing and interacting with dealt cards, etc.
Re: HTML5 Deck of Cards
#135Kudos for making this run smoothly on my three year old laptop!
Re: HTML5 Deck of Cards
#136This would be awesome for playing Magic The Gathering, grabbing the card art off of the gatherer site.
Re: HTML5 Deck of Cards
#137I wrote a simpler version of very nearly the same thing not long ago. But this one is much nicer. The animations, in particular, add a lot of flash.
Re: HTML5 Deck of Cards
#138Looks great! Ability to flip cards would be awesome. When the cards are fanned, I'd love to see the end one being flipped and they all domino over :)
Re: HTML5 Deck of Cards
#139Way cool! Echoing the sentiments of others who've commented on the fluidity of the motions on display here.
Re: HTML5 Deck of Cards
#140I'd love to build a cribbage game with this as the basis for the UI.