CSS Playing Cards help you to create simple and semantic playing cards in (X)HTML. This documents some examples and how to set them up.
Surrounding Container:
<div class="playingCards">...</div>
With different options (default is the respective opposite):
<div class="playingCards fourColours faceImages simpleCards inText rotateHand">...</div>
Use the option tool on the right to toggle between the different options and languages while you are looking at cards (best on the full set). (Note: Some of the options don't work with all of the cards by design. And toggling between languages doesn't work properly in Chrome.)
<div class="card back">*</div>
<div class="card rank-7 spades"> <span class="rank">7</span> <span class="suit">♠</span> </div>
<div class="card little joker"> <span class="rank">-</span> <span class="suit">Joker</span> </div>
<strong> <span class="card rank-a clubs"> <span class="rank">A</span> <span class="suit">♣</span> </span> </strong>
<a class="card rank-q hearts" href="#"> <span class="rank">Q</span> <span class="suit">♥</span> </a>
<label for="c-2D" class="card rank-2 diams"> <span class="rank">2</span> <span class="suit">♦</span> <input type="checkbox" name="c-2D" id="c-2D" value="select" /> </label>
<ul class="deck"> <li>...card...</li> ... </ul>