Cards by Mike HallCards by Jerry SievertCards by Jamie TaylorCards by Kevin ThompsonCards by Anika HenkeCards by Alexander DawsonCards by Jeff Yaus
Last update2011-05-18 21:33:012011-05-18 21:33:012011-05-18 21:33:012011-05-18 21:33:012011-05-18 21:33:012011-05-18 21:33:012011-05-18 21:33:01
Websitehttp://www.brainjar.com/css/cards/http://legitimatesounding.com/blog/XHTML_CSS_Playing_Cards.htmlhttp://htmyell.com/creating-playing-cards-with-css-html/http://dribbble.com/shots/37568-CSS-Playing-Cardshttp://blog.selfthinker.org/2010/08/23/css-playing-cards/http://sixrevisions.com/css/css3-card-trick-a-fun-css3-experiment/http://www.yaus.com/jeff/2009/07/23/css-cards/
LicenseGPL 2©©©CC BY-SA©CC BY-NC-SA
Screenshot
HTML code
<div class="card">
    <div class="front">
        <div class="index">7<br />&spades;</div>
        <div class="spotA1">&spades;</div>
        <div class="spotA3">&spades;</div>
        <div class="spotA5">&spades;</div>
        <div class="spotB2">&spades;</div>
        <div class="spotC1">&spades;</div>
        <div class="spotC3">&spades;</div>
        <div class="spotC5">&spades;</div>
    </div>
</div>
<div id="card1" class="black card">
    <div class="top number">7</div>
    <div class="top undersuit">&spades;</div>
    <div class="suit">&spades;</div>
    <div class="bottom number">7</div>
</div>
<div class="outline shadow rounded">
    <div class="top">
        <span>7</span>
        <span>&spades;</span>
    </div>
    <h1>&spades;<h1>
    <div class="bottom">
        <span>&spades;</span>
        <span>7</span>
    </div>
</div>
<div class="card seven spades">
    <span class="suit"></span>
    <span class="symbol"></span>
    <span class="symbol"></span>
    <span class="symbol"></span>
    <span class="symbol"></span>
    <span class="symbol"></span>
    <span class="symbol"></span>
    <span class="symbol"></span>
</div>
<div class="card rank-7 spades">
    <span class="rank">7</span>
    <span class="suit">&spades;</span>
</div>
<fieldset id="spades">
    <input class="card" id="spade" />
    <label class="base" for="spade">
        <span>
            <em>7</em>
            &spades;
        </span>
        <strong>&spades;</strong>
        <em>7</em>
        &spades;
    </label>
</fieldset>
<div class="card spades v7">
    <span></span>
    <p>7S</p>
</div>
Criteria
semantics2 /53 /51 /54 /55 /51 /55 /5
accessibility2 /53 /52 /51 /55 /52 /54 /5
scalability5 /52 /51 /54 /54 /51 /55 /5
amount of markup1 /53 /52 /51 /54 /52 /55 /5
beauty3 /51 /54 /55 /54 /55 /52 /5
notesfrom 2001, not easy to develop withnot meant to be used in a production environmentno cards visible in IE8 (only white background)no overlapping in IE8not meant to be used in a production environmentbuggy in Opera
Features
whole deckYesYes * not provided, but easily extensibleNoYes * not provided, but easily extensibleYesNoYes
backYesNoNoNoYesNoYes
jokerNoNoNoNoNoNoYes
facesYesNoNoNoYesNoYes
several suits on cardYesNoNoYesYesNoYes
four coloursNoNoNoNoYesNoNo
Additional
Rating3.0 1 rating2.0 1 rating1.0 1 rating2.0 1 rating4.0 1 rating2.0 1 rating4.0 1 rating