selfthinker / css-playing-cards Goto Github PK
View Code? Open in Web Editor NEWCSS Playing Cards help you to create simple and semantic playing cards in (X)HTML
Home Page: http://selfthinker.github.com/CSS-Playing-Cards/
CSS Playing Cards help you to create simple and semantic playing cards in (X)HTML
Home Page: http://selfthinker.github.com/CSS-Playing-Cards/
I have a DIV that scales when resized.. is it possible to make the card fit into that div and follow the div?
Inspired by Jeff Yaus' cards [http://www.folded.com/jeff/goldfish/cards/], the cards without faces should have chess symbols [http://en.wikipedia.org/wiki/Chess_symbols_in_Unicode] instead of the faces. Although I'd choose a pawn instead of a knight for the Jack. The white ones should be used for "playfulSuits".
This is the best playing card lib I've found around. Congratulation for the great work!
Just a question though, why are the faces shrinked this way? Have you considered an option/style for drawing "realistic" cards with full faces, or is it intended to keep it simple this way?
Thank you so much for your answer,
Alex.
When a label is linked to a checkbox by nesting or for attribute the checkbox doesn't need to be visible - it is operated by clicking on the label.
If you structure the card html as
<input id="some-id" type="checkbox" />
<label for="some-id"> <!-- card html/content --></label>
clicking the label will operate the checkbox and sibling selectors can be used to alter the appearance of the card.
The current images for the faces are not ideal. Research for simpler ones which could also be shown across the whole card when the card is small.
I haven't found an explicit license for usage of this project.
The comparison linked on the main page says this is CC-BY-SA, the README on faces says the images there are LGPL.
I think a simple statement on the README would do, the most permissive would be CC0 if that's intended, CC-BY-SA 3.0 would be a reasonable choice, but without any license I think all rights reserved have to be assumed.
I'm trying to have more than 1 deck or hand in the same line, but I can't do it.
Any thoughts?
Tks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.