HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<div ontouchstart class="changelog">
<button id="back">Back</button>
<div>
<h2>05/24/2022 at 9:18pm</h2>
<ul>
<li>Temporarily remove unusable reset button</li>
</ul>
</div>
<div>
<h2>04/18/2022 at 12:30pm</h2>
<ul>
<li>Fixed changelog layout</li>
<li>Update libraries</li>
</ul>
</div>
<div>
<h2>08/18/2016 at 7:00PM</h2>
<ul>
<li>Fixed bug where double-clicking a card would mark it as matched without an actual match.</li>
<li>Fixed bug where card values were visible in Firefox.</li>
</ul>
</div>
<div>
<h2>08/18/2016 at 1:30PM</h2>
<ul>
<li>Fixed bug where cards would still be marked as matched on multiple replays after the first one</li>
<li>Adjusted delays to better avoid mismatches or standalone cards</li>
<li>Fixed bug where cards would still be clickable even after being matched</li>
</ul>
</div>
</div>
<div class="start" ontouchstart>
<h1>Isotope Card Match</h1>
<p>Click on a card to flip it over. If you turn over two matching cards, you get to keep them; if they don't match, they get flipped back. Every fifteen seconds, the cards will reshuffle. Match all twenty cards to win! View in full-page mode to play.</p>
<div>
<button id="start">Start</button>
</div>
<footer>
<a href="https://isotope.metafizzy.co" target="_blank">Isotope by Metafizzy</a> · Designed by <a href="http://gabriellew.ee" target="_blank">Gabrielle Wee</a> · <a id="changelog-1" href="#">Changelog</a>
</footer>
</div>
<div class="congrats" ontouchstart>
<h1>Congrats, you've won!</h1>
<div>
<button id="play">Play again?</button>
</div>
<footer>
<a href="https://isotope.metafizzy.co" target="_blank">Isotope by Metafizzy</a> · Designed by <a href="http://gabriellew.ee" target="_blank">Gabrielle Wee</a> · <a id="changelog-2" href="#">Changelog</a>
</footer>
</div>
<ul class="cards" ontouchstart>
<li>
<div class="playing-card-container play-ace">
<input type="radio" name="hearts-ace"/>
<input type="radio" name="hearts-ace"/>
<input type="radio" name="hearts-ace"/>
<input type="radio" name="hearts-ace"/>
<div class="playing-card play-heart">
<div class="back">
<div><div><div></div></div></div>
</div>
<div class="front">
<svg viewBox="0 0 250 350">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
<path d="M181,114.589487 C181,98.2465582 167.776199,85 151.466344,85 C139.864282,85 129.833984,91.6958698 125.003748,101.438048 C120.163517,91.6958698 110.140715,85 98.5361549,85 C82.228799,85 69,98.2465582 69,114.589487 C69,153.630788 124.386538,175 124.386538,175 C124.386538,175 181,153.360451 181,114.589487 L181,114.589487 Z" class="heart" stroke="#F04F54" stroke-width="3" fill="#F04F54"></path>
<polygon class="diamond" stroke="#F04F54" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="#F04F54" points="124.861436 74 180.723407 129.861971 124.861436 185.723943 68.9994643 129.861971"></polygon>
<path d="M152.113309,112.798631 C151.699475,112.798631 151.283133,112.808673 150.874314,112.828758 C151.852468,110.036972 152.391707,107.039317 152.391707,103.918642 C152.391707,89.0558964 140.35289,77 125.502508,77 C110.649618,77 98.6108012,89.0558964 98.6108012,103.918642 C98.6108012,107.039317 99.1475318,110.036972 100.125686,112.828758 C99.7168675,112.808673 99.3030331,112.798631 98.8891988,112.798631 C84.0363087,112.798631 72,124.849506 72,139.709742 C72,154.577509 84.0363087,166.625873 98.8891988,166.625873 C107.647438,166.625873 115.412475,162.425641 120.320801,155.938253 C117.386339,167.318799 113.486264,179.176358 109.262646,183 L125.377104,183 L125.620388,183 L141.737354,183 C137.518752,179.176358 133.623693,167.336373 130.684215,155.958338 C135.595049,162.433173 143.365102,166.623363 152.113309,166.623363 C166.958675,166.623363 179,154.574998 179,139.707231 C179,124.849506 166.958675,112.798631 152.113309,112.798631 L152.113309,112.798631 Z" class="club" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<path d="M126.124735,78 C126.124735,78 69,99.6590241 69,138.45067 C69,154.805904 82.3453437,168.061618 98.8055264,168.061618 C106.78951,168.061618 114.036433,164.932005 119.382648,159.856416 C116.595952,169.907287 113.092389,179.624633 109.341457,183 L125.380101,183 L125.619899,183 L141.658543,183 C137.910135,179.624633 134.406572,169.907287 131.617352,159.856416 C136.963567,164.934513 144.21049,168.061618 152.199522,168.061618 C168.657181,168.061618 182,154.805904 182,138.45067 C182.005048,99.3856846 126.124735,78 126.124735,78 L126.124735,78 Z" class="spade" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<text font-family="Brandon Grotesque, Brandon Text, Futura, Source Sans Pro, Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif" font-size="72" font-weight="900" fill="#40484B" text-anchor="middle">
<tspan x="125" y="257">A</tspan>
</text>
</g>
</svg>
</div>
</div>
</div>
</li>
<li>
<div class="playing-card-container play-two">
<input type="radio" name="hearts-two"/>
<input type="radio" name="hearts-two"/>
<input type="radio" name="hearts-two"/>
<input type="radio" name="hearts-two"/>
<div class="playing-card play-heart">
<div class="back">
<div><div><div></div></div></div>
</div>
<div class="front">
<svg viewBox="0 0 250 350">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
<path d="M181,114.589487 C181,98.2465582 167.776199,85 151.466344,85 C139.864282,85 129.833984,91.6958698 125.003748,101.438048 C120.163517,91.6958698 110.140715,85 98.5361549,85 C82.228799,85 69,98.2465582 69,114.589487 C69,153.630788 124.386538,175 124.386538,175 C124.386538,175 181,153.360451 181,114.589487 L181,114.589487 Z" class="heart" stroke="#F04F54" stroke-width="3" fill="#F04F54"></path>
<polygon class="diamond" stroke="#F04F54" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="#F04F54" points="124.861436 74 180.723407 129.861971 124.861436 185.723943 68.9994643 129.861971"></polygon>
<path d="M152.113309,112.798631 C151.699475,112.798631 151.283133,112.808673 150.874314,112.828758 C151.852468,110.036972 152.391707,107.039317 152.391707,103.918642 C152.391707,89.0558964 140.35289,77 125.502508,77 C110.649618,77 98.6108012,89.0558964 98.6108012,103.918642 C98.6108012,107.039317 99.1475318,110.036972 100.125686,112.828758 C99.7168675,112.808673 99.3030331,112.798631 98.8891988,112.798631 C84.0363087,112.798631 72,124.849506 72,139.709742 C72,154.577509 84.0363087,166.625873 98.8891988,166.625873 C107.647438,166.625873 115.412475,162.425641 120.320801,155.938253 C117.386339,167.318799 113.486264,179.176358 109.262646,183 L125.377104,183 L125.620388,183 L141.737354,183 C137.518752,179.176358 133.623693,167.336373 130.684215,155.958338 C135.595049,162.433173 143.365102,166.623363 152.113309,166.623363 C166.958675,166.623363 179,154.574998 179,139.707231 C179,124.849506 166.958675,112.798631 152.113309,112.798631 L152.113309,112.798631 Z" class="club" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<path d="M126.124735,78 C126.124735,78 69,99.6590241 69,138.45067 C69,154.805904 82.3453437,168.061618 98.8055264,168.061618 C106.78951,168.061618 114.036433,164.932005 119.382648,159.856416 C116.595952,169.907287 113.092389,179.624633 109.341457,183 L125.380101,183 L125.619899,183 L141.658543,183 C137.910135,179.624633 134.406572,169.907287 131.617352,159.856416 C136.963567,164.934513 144.21049,168.061618 152.199522,168.061618 C168.657181,168.061618 182,154.805904 182,138.45067 C182.005048,99.3856846 126.124735,78 126.124735,78 L126.124735,78 Z" class="spade" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<text font-family="Brandon Grotesque, Brandon Text, Futura, Source Sans Pro, Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif" font-size="72" font-weight="900" fill="#40484B" text-anchor="middle">
<tspan x="125" y="257">2</tspan>
</text>
</g>
</svg>
</div>
</div>
</div>
</li>
<li>
<div class="playing-card-container play-jack">
<input type="radio" name="hearts-jack"/>
<input type="radio" name="hearts-jack"/>
<input type="radio" name="hearts-jack"/>
<input type="radio" name="hearts-jack"/>
<div class="playing-card play-heart">
<div class="back">
<div><div><div></div></div></div>
</div>
<div class="front">
<svg viewBox="0 0 250 350">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
<path d="M181,114.589487 C181,98.2465582 167.776199,85 151.466344,85 C139.864282,85 129.833984,91.6958698 125.003748,101.438048 C120.163517,91.6958698 110.140715,85 98.5361549,85 C82.228799,85 69,98.2465582 69,114.589487 C69,153.630788 124.386538,175 124.386538,175 C124.386538,175 181,153.360451 181,114.589487 L181,114.589487 Z" class="heart" stroke="#F04F54" stroke-width="3" fill="#F04F54"></path>
<polygon class="diamond" stroke="#F04F54" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="#F04F54" points="124.861436 74 180.723407 129.861971 124.861436 185.723943 68.9994643 129.861971"></polygon>
<path d="M152.113309,112.798631 C151.699475,112.798631 151.283133,112.808673 150.874314,112.828758 C151.852468,110.036972 152.391707,107.039317 152.391707,103.918642 C152.391707,89.0558964 140.35289,77 125.502508,77 C110.649618,77 98.6108012,89.0558964 98.6108012,103.918642 C98.6108012,107.039317 99.1475318,110.036972 100.125686,112.828758 C99.7168675,112.808673 99.3030331,112.798631 98.8891988,112.798631 C84.0363087,112.798631 72,124.849506 72,139.709742 C72,154.577509 84.0363087,166.625873 98.8891988,166.625873 C107.647438,166.625873 115.412475,162.425641 120.320801,155.938253 C117.386339,167.318799 113.486264,179.176358 109.262646,183 L125.377104,183 L125.620388,183 L141.737354,183 C137.518752,179.176358 133.623693,167.336373 130.684215,155.958338 C135.595049,162.433173 143.365102,166.623363 152.113309,166.623363 C166.958675,166.623363 179,154.574998 179,139.707231 C179,124.849506 166.958675,112.798631 152.113309,112.798631 L152.113309,112.798631 Z" class="club" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<path d="M126.124735,78 C126.124735,78 69,99.6590241 69,138.45067 C69,154.805904 82.3453437,168.061618 98.8055264,168.061618 C106.78951,168.061618 114.036433,164.932005 119.382648,159.856416 C116.595952,169.907287 113.092389,179.624633 109.341457,183 L125.380101,183 L125.619899,183 L141.658543,183 C137.910135,179.624633 134.406572,169.907287 131.617352,159.856416 C136.963567,164.934513 144.21049,168.061618 152.199522,168.061618 C168.657181,168.061618 182,154.805904 182,138.45067 C182.005048,99.3856846 126.124735,78 126.124735,78 L126.124735,78 Z" class="spade" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<text font-family="Brandon Grotesque, Brandon Text, Futura, Source Sans Pro, Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif" font-size="72" font-weight="900" fill="#40484B" text-anchor="middle">
<tspan x="125" y="257">J</tspan>
</text>
</g>
</svg>
</div>
</div>
</div>
</li>
<li>
<div class="playing-card-container play-queen">
<input type="radio" name="hearts-queen"/>
<input type="radio" name="hearts-queen"/>
<input type="radio" name="hearts-queen"/>
<input type="radio" name="hearts-queen"/>
<div class="playing-card play-heart">
<div class="back">
<div><div><div></div></div></div>
</div>
<div class="front">
<svg viewBox="0 0 250 350">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
<path d="M181,114.589487 C181,98.2465582 167.776199,85 151.466344,85 C139.864282,85 129.833984,91.6958698 125.003748,101.438048 C120.163517,91.6958698 110.140715,85 98.5361549,85 C82.228799,85 69,98.2465582 69,114.589487 C69,153.630788 124.386538,175 124.386538,175 C124.386538,175 181,153.360451 181,114.589487 L181,114.589487 Z" class="heart" stroke="#F04F54" stroke-width="3" fill="#F04F54"></path>
<polygon class="diamond" stroke="#F04F54" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="#F04F54" points="124.861436 74 180.723407 129.861971 124.861436 185.723943 68.9994643 129.861971"></polygon>
<path d="M152.113309,112.798631 C151.699475,112.798631 151.283133,112.808673 150.874314,112.828758 C151.852468,110.036972 152.391707,107.039317 152.391707,103.918642 C152.391707,89.0558964 140.35289,77 125.502508,77 C110.649618,77 98.6108012,89.0558964 98.6108012,103.918642 C98.6108012,107.039317 99.1475318,110.036972 100.125686,112.828758 C99.7168675,112.808673 99.3030331,112.798631 98.8891988,112.798631 C84.0363087,112.798631 72,124.849506 72,139.709742 C72,154.577509 84.0363087,166.625873 98.8891988,166.625873 C107.647438,166.625873 115.412475,162.425641 120.320801,155.938253 C117.386339,167.318799 113.486264,179.176358 109.262646,183 L125.377104,183 L125.620388,183 L141.737354,183 C137.518752,179.176358 133.623693,167.336373 130.684215,155.958338 C135.595049,162.433173 143.365102,166.623363 152.113309,166.623363 C166.958675,166.623363 179,154.574998 179,139.707231 C179,124.849506 166.958675,112.798631 152.113309,112.798631 L152.113309,112.798631 Z" class="club" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<path d="M126.124735,78 C126.124735,78 69,99.6590241 69,138.45067 C69,154.805904 82.3453437,168.061618 98.8055264,168.061618 C106.78951,168.061618 114.036433,164.932005 119.382648,159.856416 C116.595952,169.907287 113.092389,179.624633 109.341457,183 L125.380101,183 L125.619899,183 L141.658543,183 C137.910135,179.624633 134.406572,169.907287 131.617352,159.856416 C136.963567,164.934513 144.21049,168.061618 152.199522,168.061618 C168.657181,168.061618 182,154.805904 182,138.45067 C182.005048,99.3856846 126.124735,78 126.124735,78 L126.124735,78 Z" class="spade" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<text font-family="Brandon Grotesque, Brandon Text, Futura, Source Sans Pro, Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif" font-size="72" font-weight="900" fill="#40484B" text-anchor="middle">
<tspan x="125" y="257">Q</tspan>
</text>
</g>
</svg>
</div>
</div>
</div>
</li>
<li>
<div class="playing-card-container play-king">
<input type="radio" name="hearts-king"/>
<input type="radio" name="hearts-king"/>
<input type="radio" name="hearts-king"/>
<input type="radio" name="hearts-king"/>
<div class="playing-card play-heart">
<div class="back">
<div><div><div></div></div></div>
</div>
<div class="front">
<svg viewBox="0 0 250 350">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
<path d="M181,114.589487 C181,98.2465582 167.776199,85 151.466344,85 C139.864282,85 129.833984,91.6958698 125.003748,101.438048 C120.163517,91.6958698 110.140715,85 98.5361549,85 C82.228799,85 69,98.2465582 69,114.589487 C69,153.630788 124.386538,175 124.386538,175 C124.386538,175 181,153.360451 181,114.589487 L181,114.589487 Z" class="heart" stroke="#F04F54" stroke-width="3" fill="#F04F54"></path>
<polygon class="diamond" stroke="#F04F54" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="#F04F54" points="124.861436 74 180.723407 129.861971 124.861436 185.723943 68.9994643 129.861971"></polygon>
<path d="M152.113309,112.798631 C151.699475,112.798631 151.283133,112.808673 150.874314,112.828758 C151.852468,110.036972 152.391707,107.039317 152.391707,103.918642 C152.391707,89.0558964 140.35289,77 125.502508,77 C110.649618,77 98.6108012,89.0558964 98.6108012,103.918642 C98.6108012,107.039317 99.1475318,110.036972 100.125686,112.828758 C99.7168675,112.808673 99.3030331,112.798631 98.8891988,112.798631 C84.0363087,112.798631 72,124.849506 72,139.709742 C72,154.577509 84.0363087,166.625873 98.8891988,166.625873 C107.647438,166.625873 115.412475,162.425641 120.320801,155.938253 C117.386339,167.318799 113.486264,179.176358 109.262646,183 L125.377104,183 L125.620388,183 L141.737354,183 C137.518752,179.176358 133.623693,167.336373 130.684215,155.958338 C135.595049,162.433173 143.365102,166.623363 152.113309,166.623363 C166.958675,166.623363 179,154.574998 179,139.707231 C179,124.849506 166.958675,112.798631 152.113309,112.798631 L152.113309,112.798631 Z" class="club" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<path d="M126.124735,78 C126.124735,78 69,99.6590241 69,138.45067 C69,154.805904 82.3453437,168.061618 98.8055264,168.061618 C106.78951,168.061618 114.036433,164.932005 119.382648,159.856416 C116.595952,169.907287 113.092389,179.624633 109.341457,183 L125.380101,183 L125.619899,183 L141.658543,183 C137.910135,179.624633 134.406572,169.907287 131.617352,159.856416 C136.963567,164.934513 144.21049,168.061618 152.199522,168.061618 C168.657181,168.061618 182,154.805904 182,138.45067 C182.005048,99.3856846 126.124735,78 126.124735,78 L126.124735,78 Z" class="spade" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<text font-family="Brandon Grotesque, Brandon Text, Futura, Source Sans Pro, Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif" font-size="72" font-weight="900" fill="#40484B" text-anchor="middle">
<tspan x="125" y="257">K</tspan>
</text>
</g>
</svg>
</div>
</div>
</div>
</li>
<li>
<div class="playing-card-container play-ace">
<input type="radio" name="diamonds-ace"/>
<input type="radio" name="diamonds-ace"/>
<input type="radio" name="diamonds-ace"/>
<input type="radio" name="diamonds-ace"/>
<div class="playing-card play-diamond">
<div class="back">
<div><div><div></div></div></div>
</div>
<div class="front">
<svg viewBox="0 0 250 350">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
<path d="M181,114.589487 C181,98.2465582 167.776199,85 151.466344,85 C139.864282,85 129.833984,91.6958698 125.003748,101.438048 C120.163517,91.6958698 110.140715,85 98.5361549,85 C82.228799,85 69,98.2465582 69,114.589487 C69,153.630788 124.386538,175 124.386538,175 C124.386538,175 181,153.360451 181,114.589487 L181,114.589487 Z" class="heart" stroke="#F04F54" stroke-width="3" fill="#F04F54"></path>
<polygon class="diamond" stroke="#F04F54" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="#F04F54" points="124.861436 74 180.723407 129.861971 124.861436 185.723943 68.9994643 129.861971"></polygon>
<path d="M152.113309,112.798631 C151.699475,112.798631 151.283133,112.808673 150.874314,112.828758 C151.852468,110.036972 152.391707,107.039317 152.391707,103.918642 C152.391707,89.0558964 140.35289,77 125.502508,77 C110.649618,77 98.6108012,89.0558964 98.6108012,103.918642 C98.6108012,107.039317 99.1475318,110.036972 100.125686,112.828758 C99.7168675,112.808673 99.3030331,112.798631 98.8891988,112.798631 C84.0363087,112.798631 72,124.849506 72,139.709742 C72,154.577509 84.0363087,166.625873 98.8891988,166.625873 C107.647438,166.625873 115.412475,162.425641 120.320801,155.938253 C117.386339,167.318799 113.486264,179.176358 109.262646,183 L125.377104,183 L125.620388,183 L141.737354,183 C137.518752,179.176358 133.623693,167.336373 130.684215,155.958338 C135.595049,162.433173 143.365102,166.623363 152.113309,166.623363 C166.958675,166.623363 179,154.574998 179,139.707231 C179,124.849506 166.958675,112.798631 152.113309,112.798631 L152.113309,112.798631 Z" class="club" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<path d="M126.124735,78 C126.124735,78 69,99.6590241 69,138.45067 C69,154.805904 82.3453437,168.061618 98.8055264,168.061618 C106.78951,168.061618 114.036433,164.932005 119.382648,159.856416 C116.595952,169.907287 113.092389,179.624633 109.341457,183 L125.380101,183 L125.619899,183 L141.658543,183 C137.910135,179.624633 134.406572,169.907287 131.617352,159.856416 C136.963567,164.934513 144.21049,168.061618 152.199522,168.061618 C168.657181,168.061618 182,154.805904 182,138.45067 C182.005048,99.3856846 126.124735,78 126.124735,78 L126.124735,78 Z" class="spade" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<text font-family="Brandon Grotesque, Brandon Text, Futura, Source Sans Pro, Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif" font-size="72" font-weight="900" fill="#40484B" text-anchor="middle">
<tspan x="125" y="257">A</tspan>
</text>
</g>
</svg>
</div>
</div>
</div>
</li>
<li>
<div class="playing-card-container play-two">
<input type="radio" name="diamonds-two"/>
<input type="radio" name="diamonds-two"/>
<input type="radio" name="diamonds-two"/>
<input type="radio" name="diamonds-two"/>
<div class="playing-card play-diamond">
<div class="back">
<div><div><div></div></div></div>
</div>
<div class="front">
<svg viewBox="0 0 250 350">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
<path d="M181,114.589487 C181,98.2465582 167.776199,85 151.466344,85 C139.864282,85 129.833984,91.6958698 125.003748,101.438048 C120.163517,91.6958698 110.140715,85 98.5361549,85 C82.228799,85 69,98.2465582 69,114.589487 C69,153.630788 124.386538,175 124.386538,175 C124.386538,175 181,153.360451 181,114.589487 L181,114.589487 Z" class="heart" stroke="#F04F54" stroke-width="3" fill="#F04F54"></path>
<polygon class="diamond" stroke="#F04F54" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="#F04F54" points="124.861436 74 180.723407 129.861971 124.861436 185.723943 68.9994643 129.861971"></polygon>
<path d="M152.113309,112.798631 C151.699475,112.798631 151.283133,112.808673 150.874314,112.828758 C151.852468,110.036972 152.391707,107.039317 152.391707,103.918642 C152.391707,89.0558964 140.35289,77 125.502508,77 C110.649618,77 98.6108012,89.0558964 98.6108012,103.918642 C98.6108012,107.039317 99.1475318,110.036972 100.125686,112.828758 C99.7168675,112.808673 99.3030331,112.798631 98.8891988,112.798631 C84.0363087,112.798631 72,124.849506 72,139.709742 C72,154.577509 84.0363087,166.625873 98.8891988,166.625873 C107.647438,166.625873 115.412475,162.425641 120.320801,155.938253 C117.386339,167.318799 113.486264,179.176358 109.262646,183 L125.377104,183 L125.620388,183 L141.737354,183 C137.518752,179.176358 133.623693,167.336373 130.684215,155.958338 C135.595049,162.433173 143.365102,166.623363 152.113309,166.623363 C166.958675,166.623363 179,154.574998 179,139.707231 C179,124.849506 166.958675,112.798631 152.113309,112.798631 L152.113309,112.798631 Z" class="club" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<path d="M126.124735,78 C126.124735,78 69,99.6590241 69,138.45067 C69,154.805904 82.3453437,168.061618 98.8055264,168.061618 C106.78951,168.061618 114.036433,164.932005 119.382648,159.856416 C116.595952,169.907287 113.092389,179.624633 109.341457,183 L125.380101,183 L125.619899,183 L141.658543,183 C137.910135,179.624633 134.406572,169.907287 131.617352,159.856416 C136.963567,164.934513 144.21049,168.061618 152.199522,168.061618 C168.657181,168.061618 182,154.805904 182,138.45067 C182.005048,99.3856846 126.124735,78 126.124735,78 L126.124735,78 Z" class="spade" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<text font-family="Brandon Grotesque, Brandon Text, Futura, Source Sans Pro, Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif" font-size="72" font-weight="900" fill="#40484B" text-anchor="middle">
<tspan x="125" y="257">2</tspan>
</text>
</g>
</svg>
</div>
</div>
</div>
</li>
<li>
<div class="playing-card-container play-jack">
<input type="radio" name="diamonds-jack"/>
<input type="radio" name="diamonds-jack"/>
<input type="radio" name="diamonds-jack"/>
<input type="radio" name="diamonds-jack"/>
<div class="playing-card play-diamond">
<div class="back">
<div><div><div></div></div></div>
</div>
<div class="front">
<svg viewBox="0 0 250 350">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
<path d="M181,114.589487 C181,98.2465582 167.776199,85 151.466344,85 C139.864282,85 129.833984,91.6958698 125.003748,101.438048 C120.163517,91.6958698 110.140715,85 98.5361549,85 C82.228799,85 69,98.2465582 69,114.589487 C69,153.630788 124.386538,175 124.386538,175 C124.386538,175 181,153.360451 181,114.589487 L181,114.589487 Z" class="heart" stroke="#F04F54" stroke-width="3" fill="#F04F54"></path>
<polygon class="diamond" stroke="#F04F54" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="#F04F54" points="124.861436 74 180.723407 129.861971 124.861436 185.723943 68.9994643 129.861971"></polygon>
<path d="M152.113309,112.798631 C151.699475,112.798631 151.283133,112.808673 150.874314,112.828758 C151.852468,110.036972 152.391707,107.039317 152.391707,103.918642 C152.391707,89.0558964 140.35289,77 125.502508,77 C110.649618,77 98.6108012,89.0558964 98.6108012,103.918642 C98.6108012,107.039317 99.1475318,110.036972 100.125686,112.828758 C99.7168675,112.808673 99.3030331,112.798631 98.8891988,112.798631 C84.0363087,112.798631 72,124.849506 72,139.709742 C72,154.577509 84.0363087,166.625873 98.8891988,166.625873 C107.647438,166.625873 115.412475,162.425641 120.320801,155.938253 C117.386339,167.318799 113.486264,179.176358 109.262646,183 L125.377104,183 L125.620388,183 L141.737354,183 C137.518752,179.176358 133.623693,167.336373 130.684215,155.958338 C135.595049,162.433173 143.365102,166.623363 152.113309,166.623363 C166.958675,166.623363 179,154.574998 179,139.707231 C179,124.849506 166.958675,112.798631 152.113309,112.798631 L152.113309,112.798631 Z" class="club" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<path d="M126.124735,78 C126.124735,78 69,99.6590241 69,138.45067 C69,154.805904 82.3453437,168.061618 98.8055264,168.061618 C106.78951,168.061618 114.036433,164.932005 119.382648,159.856416 C116.595952,169.907287 113.092389,179.624633 109.341457,183 L125.380101,183 L125.619899,183 L141.658543,183 C137.910135,179.624633 134.406572,169.907287 131.617352,159.856416 C136.963567,164.934513 144.21049,168.061618 152.199522,168.061618 C168.657181,168.061618 182,154.805904 182,138.45067 C182.005048,99.3856846 126.124735,78 126.124735,78 L126.124735,78 Z" class="spade" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<text font-family="Brandon Grotesque, Brandon Text, Futura, Source Sans Pro, Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif" font-size="72" font-weight="900" fill="#40484B" text-anchor="middle">
<tspan x="125" y="257">J</tspan>
</text>
</g>
</svg>
</div>
</div>
</div>
</li>
<li>
<div class="playing-card-container play-queen">
<input type="radio" name="diamonds-queen"/>
<input type="radio" name="diamonds-queen"/>
<input type="radio" name="diamonds-queen"/>
<input type="radio" name="diamonds-queen"/>
<div class="playing-card play-diamond">
<div class="back">
<div><div><div></div></div></div>
</div>
<div class="front">
<svg viewBox="0 0 250 350">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
<path d="M181,114.589487 C181,98.2465582 167.776199,85 151.466344,85 C139.864282,85 129.833984,91.6958698 125.003748,101.438048 C120.163517,91.6958698 110.140715,85 98.5361549,85 C82.228799,85 69,98.2465582 69,114.589487 C69,153.630788 124.386538,175 124.386538,175 C124.386538,175 181,153.360451 181,114.589487 L181,114.589487 Z" class="heart" stroke="#F04F54" stroke-width="3" fill="#F04F54"></path>
<polygon class="diamond" stroke="#F04F54" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="#F04F54" points="124.861436 74 180.723407 129.861971 124.861436 185.723943 68.9994643 129.861971"></polygon>
<path d="M152.113309,112.798631 C151.699475,112.798631 151.283133,112.808673 150.874314,112.828758 C151.852468,110.036972 152.391707,107.039317 152.391707,103.918642 C152.391707,89.0558964 140.35289,77 125.502508,77 C110.649618,77 98.6108012,89.0558964 98.6108012,103.918642 C98.6108012,107.039317 99.1475318,110.036972 100.125686,112.828758 C99.7168675,112.808673 99.3030331,112.798631 98.8891988,112.798631 C84.0363087,112.798631 72,124.849506 72,139.709742 C72,154.577509 84.0363087,166.625873 98.8891988,166.625873 C107.647438,166.625873 115.412475,162.425641 120.320801,155.938253 C117.386339,167.318799 113.486264,179.176358 109.262646,183 L125.377104,183 L125.620388,183 L141.737354,183 C137.518752,179.176358 133.623693,167.336373 130.684215,155.958338 C135.595049,162.433173 143.365102,166.623363 152.113309,166.623363 C166.958675,166.623363 179,154.574998 179,139.707231 C179,124.849506 166.958675,112.798631 152.113309,112.798631 L152.113309,112.798631 Z" class="club" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<path d="M126.124735,78 C126.124735,78 69,99.6590241 69,138.45067 C69,154.805904 82.3453437,168.061618 98.8055264,168.061618 C106.78951,168.061618 114.036433,164.932005 119.382648,159.856416 C116.595952,169.907287 113.092389,179.624633 109.341457,183 L125.380101,183 L125.619899,183 L141.658543,183 C137.910135,179.624633 134.406572,169.907287 131.617352,159.856416 C136.963567,164.934513 144.21049,168.061618 152.199522,168.061618 C168.657181,168.061618 182,154.805904 182,138.45067 C182.005048,99.3856846 126.124735,78 126.124735,78 L126.124735,78 Z" class="spade" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<text font-family="Brandon Grotesque, Brandon Text, Futura, Source Sans Pro, Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif" font-size="72" font-weight="900" fill="#40484B" text-anchor="middle">
<tspan x="125" y="257">Q</tspan>
</text>
</g>
</svg>
</div>
</div>
</div>
</li>
<li>
<div class="playing-card-container play-king">
<input type="radio" name="diamonds-king"/>
<input type="radio" name="diamonds-king"/>
<input type="radio" name="diamonds-king"/>
<input type="radio" name="diamonds-king"/>
<div class="playing-card play-diamond">
<div class="back">
<div><div><div></div></div></div>
</div>
<div class="front">
<svg viewBox="0 0 250 350">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
<path d="M181,114.589487 C181,98.2465582 167.776199,85 151.466344,85 C139.864282,85 129.833984,91.6958698 125.003748,101.438048 C120.163517,91.6958698 110.140715,85 98.5361549,85 C82.228799,85 69,98.2465582 69,114.589487 C69,153.630788 124.386538,175 124.386538,175 C124.386538,175 181,153.360451 181,114.589487 L181,114.589487 Z" class="heart" stroke="#F04F54" stroke-width="3" fill="#F04F54"></path>
<polygon class="diamond" stroke="#F04F54" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="#F04F54" points="124.861436 74 180.723407 129.861971 124.861436 185.723943 68.9994643 129.861971"></polygon>
<path d="M152.113309,112.798631 C151.699475,112.798631 151.283133,112.808673 150.874314,112.828758 C151.852468,110.036972 152.391707,107.039317 152.391707,103.918642 C152.391707,89.0558964 140.35289,77 125.502508,77 C110.649618,77 98.6108012,89.0558964 98.6108012,103.918642 C98.6108012,107.039317 99.1475318,110.036972 100.125686,112.828758 C99.7168675,112.808673 99.3030331,112.798631 98.8891988,112.798631 C84.0363087,112.798631 72,124.849506 72,139.709742 C72,154.577509 84.0363087,166.625873 98.8891988,166.625873 C107.647438,166.625873 115.412475,162.425641 120.320801,155.938253 C117.386339,167.318799 113.486264,179.176358 109.262646,183 L125.377104,183 L125.620388,183 L141.737354,183 C137.518752,179.176358 133.623693,167.336373 130.684215,155.958338 C135.595049,162.433173 143.365102,166.623363 152.113309,166.623363 C166.958675,166.623363 179,154.574998 179,139.707231 C179,124.849506 166.958675,112.798631 152.113309,112.798631 L152.113309,112.798631 Z" class="club" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<path d="M126.124735,78 C126.124735,78 69,99.6590241 69,138.45067 C69,154.805904 82.3453437,168.061618 98.8055264,168.061618 C106.78951,168.061618 114.036433,164.932005 119.382648,159.856416 C116.595952,169.907287 113.092389,179.624633 109.341457,183 L125.380101,183 L125.619899,183 L141.658543,183 C137.910135,179.624633 134.406572,169.907287 131.617352,159.856416 C136.963567,164.934513 144.21049,168.061618 152.199522,168.061618 C168.657181,168.061618 182,154.805904 182,138.45067 C182.005048,99.3856846 126.124735,78 126.124735,78 L126.124735,78 Z" class="spade" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<text font-family="Brandon Grotesque, Brandon Text, Futura, Source Sans Pro, Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif" font-size="72" font-weight="900" fill="#40484B" text-anchor="middle">
<tspan x="125" y="257">K</tspan>
</text>
</g>
</svg>
</div>
</div>
</div>
</li>
<li>
<div class="playing-card-container play-ace">
<input type="radio" name="clubs-ace"/>
<input type="radio" name="clubs-ace"/>
<input type="radio" name="clubs-ace"/>
<input type="radio" name="clubs-ace"/>
<div class="playing-card play-club">
<div class="back">
<div><div><div></div></div></div>
</div>
<div class="front">
<svg viewBox="0 0 250 350">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
<path d="M181,114.589487 C181,98.2465582 167.776199,85 151.466344,85 C139.864282,85 129.833984,91.6958698 125.003748,101.438048 C120.163517,91.6958698 110.140715,85 98.5361549,85 C82.228799,85 69,98.2465582 69,114.589487 C69,153.630788 124.386538,175 124.386538,175 C124.386538,175 181,153.360451 181,114.589487 L181,114.589487 Z" class="heart" stroke="#F04F54" stroke-width="3" fill="#F04F54"></path>
<polygon class="diamond" stroke="#F04F54" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="#F04F54" points="124.861436 74 180.723407 129.861971 124.861436 185.723943 68.9994643 129.861971"></polygon>
<path d="M152.113309,112.798631 C151.699475,112.798631 151.283133,112.808673 150.874314,112.828758 C151.852468,110.036972 152.391707,107.039317 152.391707,103.918642 C152.391707,89.0558964 140.35289,77 125.502508,77 C110.649618,77 98.6108012,89.0558964 98.6108012,103.918642 C98.6108012,107.039317 99.1475318,110.036972 100.125686,112.828758 C99.7168675,112.808673 99.3030331,112.798631 98.8891988,112.798631 C84.0363087,112.798631 72,124.849506 72,139.709742 C72,154.577509 84.0363087,166.625873 98.8891988,166.625873 C107.647438,166.625873 115.412475,162.425641 120.320801,155.938253 C117.386339,167.318799 113.486264,179.176358 109.262646,183 L125.377104,183 L125.620388,183 L141.737354,183 C137.518752,179.176358 133.623693,167.336373 130.684215,155.958338 C135.595049,162.433173 143.365102,166.623363 152.113309,166.623363 C166.958675,166.623363 179,154.574998 179,139.707231 C179,124.849506 166.958675,112.798631 152.113309,112.798631 L152.113309,112.798631 Z" class="club" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<path d="M126.124735,78 C126.124735,78 69,99.6590241 69,138.45067 C69,154.805904 82.3453437,168.061618 98.8055264,168.061618 C106.78951,168.061618 114.036433,164.932005 119.382648,159.856416 C116.595952,169.907287 113.092389,179.624633 109.341457,183 L125.380101,183 L125.619899,183 L141.658543,183 C137.910135,179.624633 134.406572,169.907287 131.617352,159.856416 C136.963567,164.934513 144.21049,168.061618 152.199522,168.061618 C168.657181,168.061618 182,154.805904 182,138.45067 C182.005048,99.3856846 126.124735,78 126.124735,78 L126.124735,78 Z" class="spade" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<text font-family="Brandon Grotesque, Brandon Text, Futura, Source Sans Pro, Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif" font-size="72" font-weight="900" fill="#40484B" text-anchor="middle">
<tspan x="125" y="257">A</tspan>
</text>
</g>
</svg>
</div>
</div>
</div>
</li>
<li>
<div class="playing-card-container play-two">
<input type="radio" name="clubs-two"/>
<input type="radio" name="clubs-two"/>
<input type="radio" name="clubs-two"/>
<input type="radio" name="clubs-two"/>
<div class="playing-card play-club">
<div class="back">
<div><div><div></div></div></div>
</div>
<div class="front">
<svg viewBox="0 0 250 350">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
<path d="M181,114.589487 C181,98.2465582 167.776199,85 151.466344,85 C139.864282,85 129.833984,91.6958698 125.003748,101.438048 C120.163517,91.6958698 110.140715,85 98.5361549,85 C82.228799,85 69,98.2465582 69,114.589487 C69,153.630788 124.386538,175 124.386538,175 C124.386538,175 181,153.360451 181,114.589487 L181,114.589487 Z" class="heart" stroke="#F04F54" stroke-width="3" fill="#F04F54"></path>
<polygon class="diamond" stroke="#F04F54" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="#F04F54" points="124.861436 74 180.723407 129.861971 124.861436 185.723943 68.9994643 129.861971"></polygon>
<path d="M152.113309,112.798631 C151.699475,112.798631 151.283133,112.808673 150.874314,112.828758 C151.852468,110.036972 152.391707,107.039317 152.391707,103.918642 C152.391707,89.0558964 140.35289,77 125.502508,77 C110.649618,77 98.6108012,89.0558964 98.6108012,103.918642 C98.6108012,107.039317 99.1475318,110.036972 100.125686,112.828758 C99.7168675,112.808673 99.3030331,112.798631 98.8891988,112.798631 C84.0363087,112.798631 72,124.849506 72,139.709742 C72,154.577509 84.0363087,166.625873 98.8891988,166.625873 C107.647438,166.625873 115.412475,162.425641 120.320801,155.938253 C117.386339,167.318799 113.486264,179.176358 109.262646,183 L125.377104,183 L125.620388,183 L141.737354,183 C137.518752,179.176358 133.623693,167.336373 130.684215,155.958338 C135.595049,162.433173 143.365102,166.623363 152.113309,166.623363 C166.958675,166.623363 179,154.574998 179,139.707231 C179,124.849506 166.958675,112.798631 152.113309,112.798631 L152.113309,112.798631 Z" class="club" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<path d="M126.124735,78 C126.124735,78 69,99.6590241 69,138.45067 C69,154.805904 82.3453437,168.061618 98.8055264,168.061618 C106.78951,168.061618 114.036433,164.932005 119.382648,159.856416 C116.595952,169.907287 113.092389,179.624633 109.341457,183 L125.380101,183 L125.619899,183 L141.658543,183 C137.910135,179.624633 134.406572,169.907287 131.617352,159.856416 C136.963567,164.934513 144.21049,168.061618 152.199522,168.061618 C168.657181,168.061618 182,154.805904 182,138.45067 C182.005048,99.3856846 126.124735,78 126.124735,78 L126.124735,78 Z" class="spade" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<text font-family="Brandon Grotesque, Brandon Text, Futura, Source Sans Pro, Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif" font-size="72" font-weight="900" fill="#40484B" text-anchor="middle">
<tspan x="125" y="257">2</tspan>
</text>
</g>
</svg>
</div>
</div>
</div>
</li>
<li>
<div class="playing-card-container play-jack">
<input type="radio" name="clubs-jack"/>
<input type="radio" name="clubs-jack"/>
<input type="radio" name="clubs-jack"/>
<input type="radio" name="clubs-jack"/>
<div class="playing-card play-club">
<div class="back">
<div><div><div></div></div></div>
</div>
<div class="front">
<svg viewBox="0 0 250 350">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
<path d="M181,114.589487 C181,98.2465582 167.776199,85 151.466344,85 C139.864282,85 129.833984,91.6958698 125.003748,101.438048 C120.163517,91.6958698 110.140715,85 98.5361549,85 C82.228799,85 69,98.2465582 69,114.589487 C69,153.630788 124.386538,175 124.386538,175 C124.386538,175 181,153.360451 181,114.589487 L181,114.589487 Z" class="heart" stroke="#F04F54" stroke-width="3" fill="#F04F54"></path>
<polygon class="diamond" stroke="#F04F54" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="#F04F54" points="124.861436 74 180.723407 129.861971 124.861436 185.723943 68.9994643 129.861971"></polygon>
<path d="M152.113309,112.798631 C151.699475,112.798631 151.283133,112.808673 150.874314,112.828758 C151.852468,110.036972 152.391707,107.039317 152.391707,103.918642 C152.391707,89.0558964 140.35289,77 125.502508,77 C110.649618,77 98.6108012,89.0558964 98.6108012,103.918642 C98.6108012,107.039317 99.1475318,110.036972 100.125686,112.828758 C99.7168675,112.808673 99.3030331,112.798631 98.8891988,112.798631 C84.0363087,112.798631 72,124.849506 72,139.709742 C72,154.577509 84.0363087,166.625873 98.8891988,166.625873 C107.647438,166.625873 115.412475,162.425641 120.320801,155.938253 C117.386339,167.318799 113.486264,179.176358 109.262646,183 L125.377104,183 L125.620388,183 L141.737354,183 C137.518752,179.176358 133.623693,167.336373 130.684215,155.958338 C135.595049,162.433173 143.365102,166.623363 152.113309,166.623363 C166.958675,166.623363 179,154.574998 179,139.707231 C179,124.849506 166.958675,112.798631 152.113309,112.798631 L152.113309,112.798631 Z" class="club" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<path d="M126.124735,78 C126.124735,78 69,99.6590241 69,138.45067 C69,154.805904 82.3453437,168.061618 98.8055264,168.061618 C106.78951,168.061618 114.036433,164.932005 119.382648,159.856416 C116.595952,169.907287 113.092389,179.624633 109.341457,183 L125.380101,183 L125.619899,183 L141.658543,183 C137.910135,179.624633 134.406572,169.907287 131.617352,159.856416 C136.963567,164.934513 144.21049,168.061618 152.199522,168.061618 C168.657181,168.061618 182,154.805904 182,138.45067 C182.005048,99.3856846 126.124735,78 126.124735,78 L126.124735,78 Z" class="spade" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<text font-family="Brandon Grotesque, Brandon Text, Futura, Source Sans Pro, Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif" font-size="72" font-weight="900" fill="#40484B" text-anchor="middle">
<tspan x="125" y="257">J</tspan>
</text>
</g>
</svg>
</div>
</div>
</div>
</li>
<li>
<div class="playing-card-container play-queen">
<input type="radio" name="clubs-queen"/>
<input type="radio" name="clubs-queen"/>
<input type="radio" name="clubs-queen"/>
<input type="radio" name="clubs-queen"/>
<div class="playing-card play-club">
<div class="back">
<div><div><div></div></div></div>
</div>
<div class="front">
<svg viewBox="0 0 250 350">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
<path d="M181,114.589487 C181,98.2465582 167.776199,85 151.466344,85 C139.864282,85 129.833984,91.6958698 125.003748,101.438048 C120.163517,91.6958698 110.140715,85 98.5361549,85 C82.228799,85 69,98.2465582 69,114.589487 C69,153.630788 124.386538,175 124.386538,175 C124.386538,175 181,153.360451 181,114.589487 L181,114.589487 Z" class="heart" stroke="#F04F54" stroke-width="3" fill="#F04F54"></path>
<polygon class="diamond" stroke="#F04F54" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="#F04F54" points="124.861436 74 180.723407 129.861971 124.861436 185.723943 68.9994643 129.861971"></polygon>
<path d="M152.113309,112.798631 C151.699475,112.798631 151.283133,112.808673 150.874314,112.828758 C151.852468,110.036972 152.391707,107.039317 152.391707,103.918642 C152.391707,89.0558964 140.35289,77 125.502508,77 C110.649618,77 98.6108012,89.0558964 98.6108012,103.918642 C98.6108012,107.039317 99.1475318,110.036972 100.125686,112.828758 C99.7168675,112.808673 99.3030331,112.798631 98.8891988,112.798631 C84.0363087,112.798631 72,124.849506 72,139.709742 C72,154.577509 84.0363087,166.625873 98.8891988,166.625873 C107.647438,166.625873 115.412475,162.425641 120.320801,155.938253 C117.386339,167.318799 113.486264,179.176358 109.262646,183 L125.377104,183 L125.620388,183 L141.737354,183 C137.518752,179.176358 133.623693,167.336373 130.684215,155.958338 C135.595049,162.433173 143.365102,166.623363 152.113309,166.623363 C166.958675,166.623363 179,154.574998 179,139.707231 C179,124.849506 166.958675,112.798631 152.113309,112.798631 L152.113309,112.798631 Z" class="club" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<path d="M126.124735,78 C126.124735,78 69,99.6590241 69,138.45067 C69,154.805904 82.3453437,168.061618 98.8055264,168.061618 C106.78951,168.061618 114.036433,164.932005 119.382648,159.856416 C116.595952,169.907287 113.092389,179.624633 109.341457,183 L125.380101,183 L125.619899,183 L141.658543,183 C137.910135,179.624633 134.406572,169.907287 131.617352,159.856416 C136.963567,164.934513 144.21049,168.061618 152.199522,168.061618 C168.657181,168.061618 182,154.805904 182,138.45067 C182.005048,99.3856846 126.124735,78 126.124735,78 L126.124735,78 Z" class="spade" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<text font-family="Brandon Grotesque, Brandon Text, Futura, Source Sans Pro, Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif" font-size="72" font-weight="900" fill="#40484B" text-anchor="middle">
<tspan x="125" y="257">Q</tspan>
</text>
</g>
</svg>
</div>
</div>
</div>
</li>
<li>
<div class="playing-card-container play-king">
<input type="radio" name="clubs-king"/>
<input type="radio" name="clubs-king"/>
<input type="radio" name="clubs-king"/>
<input type="radio" name="clubs-king"/>
<div class="playing-card play-club">
<div class="back">
<div><div><div></div></div></div>
</div>
<div class="front">
<svg viewBox="0 0 250 350">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
<path d="M181,114.589487 C181,98.2465582 167.776199,85 151.466344,85 C139.864282,85 129.833984,91.6958698 125.003748,101.438048 C120.163517,91.6958698 110.140715,85 98.5361549,85 C82.228799,85 69,98.2465582 69,114.589487 C69,153.630788 124.386538,175 124.386538,175 C124.386538,175 181,153.360451 181,114.589487 L181,114.589487 Z" class="heart" stroke="#F04F54" stroke-width="3" fill="#F04F54"></path>
<polygon class="diamond" stroke="#F04F54" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="#F04F54" points="124.861436 74 180.723407 129.861971 124.861436 185.723943 68.9994643 129.861971"></polygon>
<path d="M152.113309,112.798631 C151.699475,112.798631 151.283133,112.808673 150.874314,112.828758 C151.852468,110.036972 152.391707,107.039317 152.391707,103.918642 C152.391707,89.0558964 140.35289,77 125.502508,77 C110.649618,77 98.6108012,89.0558964 98.6108012,103.918642 C98.6108012,107.039317 99.1475318,110.036972 100.125686,112.828758 C99.7168675,112.808673 99.3030331,112.798631 98.8891988,112.798631 C84.0363087,112.798631 72,124.849506 72,139.709742 C72,154.577509 84.0363087,166.625873 98.8891988,166.625873 C107.647438,166.625873 115.412475,162.425641 120.320801,155.938253 C117.386339,167.318799 113.486264,179.176358 109.262646,183 L125.377104,183 L125.620388,183 L141.737354,183 C137.518752,179.176358 133.623693,167.336373 130.684215,155.958338 C135.595049,162.433173 143.365102,166.623363 152.113309,166.623363 C166.958675,166.623363 179,154.574998 179,139.707231 C179,124.849506 166.958675,112.798631 152.113309,112.798631 L152.113309,112.798631 Z" class="club" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<path d="M126.124735,78 C126.124735,78 69,99.6590241 69,138.45067 C69,154.805904 82.3453437,168.061618 98.8055264,168.061618 C106.78951,168.061618 114.036433,164.932005 119.382648,159.856416 C116.595952,169.907287 113.092389,179.624633 109.341457,183 L125.380101,183 L125.619899,183 L141.658543,183 C137.910135,179.624633 134.406572,169.907287 131.617352,159.856416 C136.963567,164.934513 144.21049,168.061618 152.199522,168.061618 C168.657181,168.061618 182,154.805904 182,138.45067 C182.005048,99.3856846 126.124735,78 126.124735,78 L126.124735,78 Z" class="spade" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<text font-family="Brandon Grotesque, Brandon Text, Futura, Source Sans Pro, Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif" font-size="72" font-weight="900" fill="#40484B" text-anchor="middle">
<tspan x="125" y="257">K</tspan>
</text>
</g>
</svg>
</div>
</div>
</div>
</li>
<li>
<div class="playing-card-container play-ace">
<input type="radio" name="spades-ace"/>
<input type="radio" name="spades-ace"/>
<input type="radio" name="spades-ace"/>
<input type="radio" name="spades-ace"/>
<div class="playing-card play-spade">
<div class="back">
<div><div><div></div></div></div>
</div>
<div class="front">
<svg viewBox="0 0 250 350">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
<path d="M181,114.589487 C181,98.2465582 167.776199,85 151.466344,85 C139.864282,85 129.833984,91.6958698 125.003748,101.438048 C120.163517,91.6958698 110.140715,85 98.5361549,85 C82.228799,85 69,98.2465582 69,114.589487 C69,153.630788 124.386538,175 124.386538,175 C124.386538,175 181,153.360451 181,114.589487 L181,114.589487 Z" class="heart" stroke="#F04F54" stroke-width="3" fill="#F04F54"></path>
<polygon class="diamond" stroke="#F04F54" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="#F04F54" points="124.861436 74 180.723407 129.861971 124.861436 185.723943 68.9994643 129.861971"></polygon>
<path d="M152.113309,112.798631 C151.699475,112.798631 151.283133,112.808673 150.874314,112.828758 C151.852468,110.036972 152.391707,107.039317 152.391707,103.918642 C152.391707,89.0558964 140.35289,77 125.502508,77 C110.649618,77 98.6108012,89.0558964 98.6108012,103.918642 C98.6108012,107.039317 99.1475318,110.036972 100.125686,112.828758 C99.7168675,112.808673 99.3030331,112.798631 98.8891988,112.798631 C84.0363087,112.798631 72,124.849506 72,139.709742 C72,154.577509 84.0363087,166.625873 98.8891988,166.625873 C107.647438,166.625873 115.412475,162.425641 120.320801,155.938253 C117.386339,167.318799 113.486264,179.176358 109.262646,183 L125.377104,183 L125.620388,183 L141.737354,183 C137.518752,179.176358 133.623693,167.336373 130.684215,155.958338 C135.595049,162.433173 143.365102,166.623363 152.113309,166.623363 C166.958675,166.623363 179,154.574998 179,139.707231 C179,124.849506 166.958675,112.798631 152.113309,112.798631 L152.113309,112.798631 Z" class="club" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<path d="M126.124735,78 C126.124735,78 69,99.6590241 69,138.45067 C69,154.805904 82.3453437,168.061618 98.8055264,168.061618 C106.78951,168.061618 114.036433,164.932005 119.382648,159.856416 C116.595952,169.907287 113.092389,179.624633 109.341457,183 L125.380101,183 L125.619899,183 L141.658543,183 C137.910135,179.624633 134.406572,169.907287 131.617352,159.856416 C136.963567,164.934513 144.21049,168.061618 152.199522,168.061618 C168.657181,168.061618 182,154.805904 182,138.45067 C182.005048,99.3856846 126.124735,78 126.124735,78 L126.124735,78 Z" class="spade" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<text font-family="Brandon Grotesque, Brandon Text, Futura, Source Sans Pro, Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif" font-size="72" font-weight="900" fill="#40484B" text-anchor="middle">
<tspan x="125" y="257">A</tspan>
</text>
</g>
</svg>
</div>
</div>
</div>
</li>
<li>
<div class="playing-card-container play-two">
<input type="radio" name="spades-two"/>
<input type="radio" name="spades-two"/>
<input type="radio" name="spades-two"/>
<input type="radio" name="spades-two"/>
<div class="playing-card play-spade">
<div class="back">
<div><div><div></div></div></div>
</div>
<div class="front">
<svg viewBox="0 0 250 350">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
<path d="M181,114.589487 C181,98.2465582 167.776199,85 151.466344,85 C139.864282,85 129.833984,91.6958698 125.003748,101.438048 C120.163517,91.6958698 110.140715,85 98.5361549,85 C82.228799,85 69,98.2465582 69,114.589487 C69,153.630788 124.386538,175 124.386538,175 C124.386538,175 181,153.360451 181,114.589487 L181,114.589487 Z" class="heart" stroke="#F04F54" stroke-width="3" fill="#F04F54"></path>
<polygon class="diamond" stroke="#F04F54" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="#F04F54" points="124.861436 74 180.723407 129.861971 124.861436 185.723943 68.9994643 129.861971"></polygon>
<path d="M152.113309,112.798631 C151.699475,112.798631 151.283133,112.808673 150.874314,112.828758 C151.852468,110.036972 152.391707,107.039317 152.391707,103.918642 C152.391707,89.0558964 140.35289,77 125.502508,77 C110.649618,77 98.6108012,89.0558964 98.6108012,103.918642 C98.6108012,107.039317 99.1475318,110.036972 100.125686,112.828758 C99.7168675,112.808673 99.3030331,112.798631 98.8891988,112.798631 C84.0363087,112.798631 72,124.849506 72,139.709742 C72,154.577509 84.0363087,166.625873 98.8891988,166.625873 C107.647438,166.625873 115.412475,162.425641 120.320801,155.938253 C117.386339,167.318799 113.486264,179.176358 109.262646,183 L125.377104,183 L125.620388,183 L141.737354,183 C137.518752,179.176358 133.623693,167.336373 130.684215,155.958338 C135.595049,162.433173 143.365102,166.623363 152.113309,166.623363 C166.958675,166.623363 179,154.574998 179,139.707231 C179,124.849506 166.958675,112.798631 152.113309,112.798631 L152.113309,112.798631 Z" class="club" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<path d="M126.124735,78 C126.124735,78 69,99.6590241 69,138.45067 C69,154.805904 82.3453437,168.061618 98.8055264,168.061618 C106.78951,168.061618 114.036433,164.932005 119.382648,159.856416 C116.595952,169.907287 113.092389,179.624633 109.341457,183 L125.380101,183 L125.619899,183 L141.658543,183 C137.910135,179.624633 134.406572,169.907287 131.617352,159.856416 C136.963567,164.934513 144.21049,168.061618 152.199522,168.061618 C168.657181,168.061618 182,154.805904 182,138.45067 C182.005048,99.3856846 126.124735,78 126.124735,78 L126.124735,78 Z" class="spade" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<text font-family="Brandon Grotesque, Brandon Text, Futura, Source Sans Pro, Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif" font-size="72" font-weight="900" fill="#40484B" text-anchor="middle">
<tspan x="125" y="257">2</tspan>
</text>
</g>
</svg>
</div>
</div>
</div>
</li>
<li>
<div class="playing-card-container play-jack">
<input type="radio" name="spades-jack"/>
<input type="radio" name="spades-jack"/>
<input type="radio" name="spades-jack"/>
<input type="radio" name="spades-jack"/>
<div class="playing-card play-spade">
<div class="back">
<div><div><div></div></div></div>
</div>
<div class="front">
<svg viewBox="0 0 250 350">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
<path d="M181,114.589487 C181,98.2465582 167.776199,85 151.466344,85 C139.864282,85 129.833984,91.6958698 125.003748,101.438048 C120.163517,91.6958698 110.140715,85 98.5361549,85 C82.228799,85 69,98.2465582 69,114.589487 C69,153.630788 124.386538,175 124.386538,175 C124.386538,175 181,153.360451 181,114.589487 L181,114.589487 Z" class="heart" stroke="#F04F54" stroke-width="3" fill="#F04F54"></path>
<polygon class="diamond" stroke="#F04F54" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="#F04F54" points="124.861436 74 180.723407 129.861971 124.861436 185.723943 68.9994643 129.861971"></polygon>
<path d="M152.113309,112.798631 C151.699475,112.798631 151.283133,112.808673 150.874314,112.828758 C151.852468,110.036972 152.391707,107.039317 152.391707,103.918642 C152.391707,89.0558964 140.35289,77 125.502508,77 C110.649618,77 98.6108012,89.0558964 98.6108012,103.918642 C98.6108012,107.039317 99.1475318,110.036972 100.125686,112.828758 C99.7168675,112.808673 99.3030331,112.798631 98.8891988,112.798631 C84.0363087,112.798631 72,124.849506 72,139.709742 C72,154.577509 84.0363087,166.625873 98.8891988,166.625873 C107.647438,166.625873 115.412475,162.425641 120.320801,155.938253 C117.386339,167.318799 113.486264,179.176358 109.262646,183 L125.377104,183 L125.620388,183 L141.737354,183 C137.518752,179.176358 133.623693,167.336373 130.684215,155.958338 C135.595049,162.433173 143.365102,166.623363 152.113309,166.623363 C166.958675,166.623363 179,154.574998 179,139.707231 C179,124.849506 166.958675,112.798631 152.113309,112.798631 L152.113309,112.798631 Z" class="club" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<path d="M126.124735,78 C126.124735,78 69,99.6590241 69,138.45067 C69,154.805904 82.3453437,168.061618 98.8055264,168.061618 C106.78951,168.061618 114.036433,164.932005 119.382648,159.856416 C116.595952,169.907287 113.092389,179.624633 109.341457,183 L125.380101,183 L125.619899,183 L141.658543,183 C137.910135,179.624633 134.406572,169.907287 131.617352,159.856416 C136.963567,164.934513 144.21049,168.061618 152.199522,168.061618 C168.657181,168.061618 182,154.805904 182,138.45067 C182.005048,99.3856846 126.124735,78 126.124735,78 L126.124735,78 Z" class="spade" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<text font-family="Brandon Grotesque, Brandon Text, Futura, Source Sans Pro, Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif" font-size="72" font-weight="900" fill="#40484B" text-anchor="middle">
<tspan x="125" y="257">J</tspan>
</text>
</g>
</svg>
</div>
</div>
</div>
</li>
<li>
<div class="playing-card-container play-queen">
<input type="radio" name="spades-queen"/>
<input type="radio" name="spades-queen"/>
<input type="radio" name="spades-queen"/>
<input type="radio" name="spades-queen"/>
<div class="playing-card play-spade">
<div class="back">
<div><div><div></div></div></div>
</div>
<div class="front">
<svg viewBox="0 0 250 350">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
<path d="M181,114.589487 C181,98.2465582 167.776199,85 151.466344,85 C139.864282,85 129.833984,91.6958698 125.003748,101.438048 C120.163517,91.6958698 110.140715,85 98.5361549,85 C82.228799,85 69,98.2465582 69,114.589487 C69,153.630788 124.386538,175 124.386538,175 C124.386538,175 181,153.360451 181,114.589487 L181,114.589487 Z" class="heart" stroke="#F04F54" stroke-width="3" fill="#F04F54"></path>
<polygon class="diamond" stroke="#F04F54" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="#F04F54" points="124.861436 74 180.723407 129.861971 124.861436 185.723943 68.9994643 129.861971"></polygon>
<path d="M152.113309,112.798631 C151.699475,112.798631 151.283133,112.808673 150.874314,112.828758 C151.852468,110.036972 152.391707,107.039317 152.391707,103.918642 C152.391707,89.0558964 140.35289,77 125.502508,77 C110.649618,77 98.6108012,89.0558964 98.6108012,103.918642 C98.6108012,107.039317 99.1475318,110.036972 100.125686,112.828758 C99.7168675,112.808673 99.3030331,112.798631 98.8891988,112.798631 C84.0363087,112.798631 72,124.849506 72,139.709742 C72,154.577509 84.0363087,166.625873 98.8891988,166.625873 C107.647438,166.625873 115.412475,162.425641 120.320801,155.938253 C117.386339,167.318799 113.486264,179.176358 109.262646,183 L125.377104,183 L125.620388,183 L141.737354,183 C137.518752,179.176358 133.623693,167.336373 130.684215,155.958338 C135.595049,162.433173 143.365102,166.623363 152.113309,166.623363 C166.958675,166.623363 179,154.574998 179,139.707231 C179,124.849506 166.958675,112.798631 152.113309,112.798631 L152.113309,112.798631 Z" class="club" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<path d="M126.124735,78 C126.124735,78 69,99.6590241 69,138.45067 C69,154.805904 82.3453437,168.061618 98.8055264,168.061618 C106.78951,168.061618 114.036433,164.932005 119.382648,159.856416 C116.595952,169.907287 113.092389,179.624633 109.341457,183 L125.380101,183 L125.619899,183 L141.658543,183 C137.910135,179.624633 134.406572,169.907287 131.617352,159.856416 C136.963567,164.934513 144.21049,168.061618 152.199522,168.061618 C168.657181,168.061618 182,154.805904 182,138.45067 C182.005048,99.3856846 126.124735,78 126.124735,78 L126.124735,78 Z" class="spade" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<text font-family="Brandon Grotesque, Brandon Text, Futura, Source Sans Pro, Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif" font-size="72" font-weight="900" fill="#40484B" text-anchor="middle">
<tspan x="125" y="257">Q</tspan>
</text>
</g>
</svg>
</div>
</div>
</div>
</li>
<li>
<div class="playing-card-container play-king">
<input type="radio" name="spades-king"/>
<input type="radio" name="spades-king"/>
<input type="radio" name="spades-king"/>
<input type="radio" name="spades-king"/>
<div class="playing-card play-spade">
<div class="back">
<div><div><div></div></div></div>
</div>
<div class="front">
<svg viewBox="0 0 250 350">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
<path d="M181,114.589487 C181,98.2465582 167.776199,85 151.466344,85 C139.864282,85 129.833984,91.6958698 125.003748,101.438048 C120.163517,91.6958698 110.140715,85 98.5361549,85 C82.228799,85 69,98.2465582 69,114.589487 C69,153.630788 124.386538,175 124.386538,175 C124.386538,175 181,153.360451 181,114.589487 L181,114.589487 Z" class="heart" stroke="#F04F54" stroke-width="3" fill="#F04F54"></path>
<polygon class="diamond" stroke="#F04F54" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="#F04F54" points="124.861436 74 180.723407 129.861971 124.861436 185.723943 68.9994643 129.861971"></polygon>
<path d="M152.113309,112.798631 C151.699475,112.798631 151.283133,112.808673 150.874314,112.828758 C151.852468,110.036972 152.391707,107.039317 152.391707,103.918642 C152.391707,89.0558964 140.35289,77 125.502508,77 C110.649618,77 98.6108012,89.0558964 98.6108012,103.918642 C98.6108012,107.039317 99.1475318,110.036972 100.125686,112.828758 C99.7168675,112.808673 99.3030331,112.798631 98.8891988,112.798631 C84.0363087,112.798631 72,124.849506 72,139.709742 C72,154.577509 84.0363087,166.625873 98.8891988,166.625873 C107.647438,166.625873 115.412475,162.425641 120.320801,155.938253 C117.386339,167.318799 113.486264,179.176358 109.262646,183 L125.377104,183 L125.620388,183 L141.737354,183 C137.518752,179.176358 133.623693,167.336373 130.684215,155.958338 C135.595049,162.433173 143.365102,166.623363 152.113309,166.623363 C166.958675,166.623363 179,154.574998 179,139.707231 C179,124.849506 166.958675,112.798631 152.113309,112.798631 L152.113309,112.798631 Z" class="club" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<path d="M126.124735,78 C126.124735,78 69,99.6590241 69,138.45067 C69,154.805904 82.3453437,168.061618 98.8055264,168.061618 C106.78951,168.061618 114.036433,164.932005 119.382648,159.856416 C116.595952,169.907287 113.092389,179.624633 109.341457,183 L125.380101,183 L125.619899,183 L141.658543,183 C137.910135,179.624633 134.406572,169.907287 131.617352,159.856416 C136.963567,164.934513 144.21049,168.061618 152.199522,168.061618 C168.657181,168.061618 182,154.805904 182,138.45067 C182.005048,99.3856846 126.124735,78 126.124735,78 L126.124735,78 Z" class="spade" stroke="#40484B" stroke-width="3" fill="#40484B"></path>
<text font-family="Brandon Grotesque, Brandon Text, Futura, Source Sans Pro, Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif" font-size="72" font-weight="900" fill="#40484B" text-anchor="middle">
<tspan x="125" y="257">K</tspan>
</text>
</g>
</svg>
</div>
</div>
</div>
</li>
</ul>
<!-- <button id="reset" ontouchstart>
<svg width="24px" height="24px" viewBox="0 0 100 100">
<g fill="none" stroke="white" stroke-width="8" stroke-linecap="round" stroke-linejoin="round">
<path d="M29.4845956,42.273876 L17.4830158,50.6684299 L9.5,38.3892642"></path>
<path d="M21.4439147,64.2244662 C26.6881822,74.7544952 37.5187724,82 50,82 C67.6001728,82 81.918101,67.5925239 81.918101,49.8841841"></path>
<path d="M78.5541862,35.7755338 C73.3099187,25.2455048 62.4793285,18 49.9981009,18 C32.397928,18 18.0799999,32.4074761 18.0799999,50.1158159"></path>
<path d="M70.5199966,57.726124 L82.5215765,49.3315701 L90.5045923,61.6107358"></path>
</g>
</svg>
</button> -->
$red: #F04F54;
$black: #40484b;
$green: #43cb9d;
$grey: #ebebeb;
$padding: 12px;
$font: "brandon-grotesque", "Brandon Grotesque", "Brandon Text", "Futura", "Source Sans Pro", "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
* { box-sizing: border-box; user-select: none; -webkit-tap-highlight-color: rgba(0,0,0,0); }
*:focus { outline: none; }
body, html { height: 100%; }
body {
display: flex;
flex-flow: row wrap;
align-items: center;
align-content: center;
justify-content: center;
background: $grey;
perspective: 1000px;
margin: 0;
overflow: hidden;
font-family: $font;
font-size: 18px;
color: $black;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
&.success {
transition: all 250ms ease-out;
background: $green;
#reset {
opacity: 0;
z-index: -1;
}
.start {
opacity: 0;
z-index: -100;
}
.congrats {
transition: all 250ms ease-out 250ms;
opacity: 1;
z-index: 100;
}
}
&.begin {
#reset {
opacity: 1;
z-index: auto;
}
.start {
opacity: 0;
z-index: -100;
}
.congrats {
opacity: 0;
z-index: -100;
}
.playing-card {
> div {
&.back {
> div {
> div {
> div {
animation: timer 15s linear infinite forwards;
}
}
}
}
}
}
}
}
strong {
font-weight: 600;
}
button {
appearance: none;
cursor: pointer;
border: 0;
font-family: $font;
border-radius: 2px;
font-size: 20px;
background: $green;
color: white;
transition: all 250ms ease-out;
* {
transition: all 250ms ease-out;
}
&:hover, &:focus {
background: mix(white, $green);
color: mix($black, $green);
svg {
* {
stroke: mix($black, $green);
}
}
}
&:active {
background: mix($black, $green);
color: white;
svg {
* {
stroke: white;
}
}
}
}
.changelog {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: $padding*2 $padding $padding;
background: $grey;
overflow: auto;
&.visible {
transition: opacity 250ms ease-out;
opacity: 1;
z-index: 101;
}
&:not(.visible) {
transition: opacity 250ms ease-out, z-index 0ms ease-out 250ms;
opacity: 0;
z-index: -101;
}
button {
display: block;
margin: 0 auto;
height: 48px;
min-width: 128px;
}
div {
width: 100%;
max-width: 512px;
margin-top: $padding;
margin-left: auto;
margin-right: auto;
h2 {
margin: 0;
font-weight: 600;
}
ul {
list-style: circle;
padding: $padding/4 0;
li {
padding: $padding/4 0;
line-height: 1.4;
}
}
}
}
.congrats, .start {
display: flex;
flex-flow: row wrap;
align-items: center;
align-content: center;
justify-content: center;
flex-flow: row wrap;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: $padding;
h1, p, div {
width: 100%;
}
h1 {
font-size: 48px;
margin-bottom: $padding;
text-align: center;
}
p {
max-width: 512px;
line-height: 1.4;
+ p {
margin-top: $padding;
font-size: 14px;
}
}
button {
display: block;
margin: $padding auto 0;
height: 64px;
min-width: 256px;
&:hover, &:focus {
background: mix(white, $green);
color: mix($black, $green);
}
&:active {
background: mix($black, $green);
color: white;
}
}
footer {
position: absolute;
bottom: 0;
left: 0;
text-align: center;
padding: $padding;
width: 100%;
font-size: 14px;
a {
background: $green;
color: white;
text-decoration: none;
display: inline-block;
border-radius: 2px;
padding: 2px 4px;
&:hover, &:focus {
background: $red;
color: white;
}
&:active {
background: $black;
color: white;
}
}
}
}
.congrats {
transition: opacity 250ms ease-out 250ms, z-index 0ms linear 500ms;
background: rgba($green, .95);
color: white;
opacity: 0;
z-index: -100;
button {
background: white;
color: $green;
}
footer {
a {
background: white;
color: $green;
&:hover, &:focus {
background: $red;
color: white;
}
&:active {
background: $black;
color: white;
}
}
}
}
.start {
transition: opacity 250ms ease-out 250ms, z-index 0ms linear 500ms;
background: rgba($grey, .8);
opacity: 1;
z-index: 100;
}
.cards {
display: flex;
flex-flow: row wrap;
align-items: center;
align-content: center;
justify-content: center;
padding: $padding/2;
width: 100%;
max-width: 492px;
margin: 0 auto;
height: 100%;
li {
padding: $padding/2;
}
}
#reset {
position: absolute;
bottom: 0;
right: 0;
display: flex;
flex-flow: row wrap;
align-items: center;
align-content: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 0;
border-top-left-radius: 2px;
background: $grey;
opacity: 0.5;
svg {
* {
stroke: $black;
}
}
&:hover, &:focus {
opacity: 1;
svg {
* {
stroke: $red;
}
}
}
&:active {
opacity: 1;
svg {
* {
stroke: $black;
}
}
}
}
.playing-card-container {
position: relative;
input {
position: absolute;
appearance: none;
opacity: 0;
z-index: 10;
margin: 0;
width: 50%;
height: 50%;
cursor: pointer;
&:hover, &:focus {
~ .playing-card {
> div {
&.back {
> div {
background: $red;
}
}
}
}
}
&:nth-child(1) {
top: 0;
left: 0;
&:hover, &:focus {
~ .playing-card {
transform-origin: bottom right;
transform: rotateX(3deg) rotateY(-3deg) translateZ(0);
}
}
}
&:nth-child(2) {
top: 0;
right: 0;
&:hover, &:focus {
~ .playing-card {
transform-origin: bottom left;
transform: rotateX(3deg) rotateY(3deg) translateZ(0);
}
}
}
&:nth-child(3) {
bottom: 0;
right: 0;
&:hover, &:focus {
~ .playing-card {
transform-origin: top left;
transform: rotateX(-3deg) rotateY(3deg) translateZ(0);
}
}
}
&:nth-child(4) {
bottom: 0;
left: 0;
&:hover, &:focus {
~ .playing-card {
transform-origin: top right;
transform: rotateX(-3deg) rotateY(-3deg) translateZ(0);
}
}
}
&:checked ~ .playing-card {
> div {
&.front {
opacity: 1;
transform: rotateY(0deg) translateZ(0);
}
&.back {
opacity: 0;
transform: rotateY(180deg) translateZ(0);
> div {
> div {
transition: 0ms;
opacity: 0;
}
}
}
}
}
}
}
.complete {
input {
display: none!important;
pointer-events: none;
}
}
.playing-card {
width: 84px;
transform-style: preserve-3d;
transition: all 250ms ease-out;
* {
transform-origin: center center;
transform-style: preserve-3d;
transition: all 250ms ease-out;
}
> div {
width: 100%;
height: 100%;
background: white;
border-radius: 10px;
&.front {
opacity: 0;
backface-visibility: hidden;
transform: rotateY(180deg);
position: relative;
z-index: 2;
svg {
display: block;
width: 100%;
height: 100%;
}
}
&.back {
opacity: 1;
position: absolute;
top: 0;
left: 0;
z-index: 1;
width: 100%;
height: 100%;
padding: 12px;
backface-visibility: hidden;
> div {
display: flex;
flex-flow: row wrap;
align-items: center;
align-content: center;
justify-content: center;
border-radius: 2px;
width: 100%;
height: 100%;
background: #f5f5f5;
> div {
border-radius: 100%;
width: 36px;
height: 36px;
background: white;
overflow: hidden;
transform: translateZ(0);
transition: 250ms ease 250ms;
> div {
width: 36px;
height: 36px;
background: mix(white, $black, 80%);
transform: translate3d(0,-100%,0);
}
}
}
}
}
}
.play-heart {
.diamond, .spade, .club {
display: none;
}
text {
fill: $red;
}
}
.play-diamond {
.heart, .spade, .club {
display: none;
}
text {
fill: $red;
}
}
.play-spade {
.diamond, .heart, .club {
display: none;
}
text {
fill: $black;
}
}
.play-club {
.diamond, .spade, .heart {
display: none;
}
text {
fill: $black;
}
}
@keyframes timer {
0% { transform: translateY(100%); }
100% { transform: translateY(0); }
}
@-moz-document url-prefix() {
.playing-card {
> div {
&.back {
> div {
> div {
border-radius: 2px;
> div {
border-radius: 2px;
}
}
}
}
}
}
}
var $container = $('.cards');
$container.isotope({
itemSelector: 'li',
masonry: { columnWidth: 'li' }
});
$('#changelog-1, #changelog-2').click(function() {
$(".changelog").addClass("visible");
});
$('#back').click(function() {
$(".changelog").removeClass("visible");
});
$('#start, #play').click(function() {
$("body").removeClass("success").addClass("begin");
$container.isotope('shuffle');
$('input').prop('checked', false);
$('.selected-1, .selected-2, .complete').removeClass();
window.setInterval(function(){
$container.isotope('shuffle');
}, 15000);
});
// $('#reset').click(function() {
// $('body').removeClass("success");
// $('input').prop('checked', false);
// $('.selected-1, .selected-2, .completed').removeClass();
// window.setInterval(function(){
// $container.isotope('shuffle');
// }, 250);
// });
$('input').click(function() {
var card = $(this).parent().parent();
if ($('.selected-1').length === 0) {
card.addClass('selected-1');
} else if ($('.selected-1').length === 1) {
if (!$(this).parent().parent().hasClass("selected-1")) {
card.addClass('selected-2');
}
var selectOne = $(".selected-1").children(".playing-card-container");
var selectTwo = $(".selected-2").children(".playing-card-container");
if ((selectOne.is('.play-ace')) && (selectTwo.is('.play-ace'))) {
$('.selected-1, .selected-2').addClass("complete");
setTimeout(function() {
$('.complete').removeClass("selected-1 selected-2");
}, 250);
} else if ((selectOne.is('.play-two')) && (selectTwo.is('.play-two'))) {
$('.selected-1, .selected-2').addClass("complete");
setTimeout(function() {
$('.complete').removeClass("selected-1 selected-2");
}, 250);
} else if ((selectOne.is('.play-jack')) && (selectTwo.is('.play-jack'))) {
$('.selected-1, .selected-2').addClass("complete");
setTimeout(function() {
$('.complete').removeClass("selected-1 selected-2");
}, 250);
} else if ((selectOne.is('.play-queen')) && (selectTwo.is('.play-queen'))) {
$('.selected-1, .selected-2').addClass("complete");
setTimeout(function() {
$('.complete').removeClass("selected-1 selected-2");
}, 250);
} else if ((selectOne.is('.play-king')) && (selectTwo.is('.play-king'))) {
$('.selected-1, .selected-2').addClass("complete");
setTimeout(function() {
$('.complete').removeClass("selected-1 selected-2");
}, 250);
} else {
setTimeout(function() {
$('.selected-1, .selected-2').children('.playing-card-container').children('input').prop('checked', false);
}, 250);
setTimeout(function() {
$('.selected-1, .selected-2').removeClass();
}, 255);
}
if ($('.complete').length === 20 ) {
$('body').removeClass("begin").addClass("success");
for (i=0; i<100; i++){
window.clearInterval(i);
}
}
}
});
Also see: Tab Triggers