Deck of CSS Cards

by Jeff Yaus

These are from a deck of playing cards I made with CSS and Unicode — no images involved! Each card is just a <div> with some classes to set the rank and suit, and an empty <span> inside it.

All the dimensions and font sizes are built using em as the unit, so you can easily adjust the size of the deck by setting the font size of the "card" class.

They are available for use via Creative Commons, Attribution-Noncommercial-Share Alike 3.0 United States.

Find the full deck and downloads at Github:
http://jyaus.github.io/css-playing-cards