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 class="elem-container">
<div class="elem far">
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="73px" viewBox="0 0 72 73" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Group 5</title>
<desc>Created with Sketch.</desc>
<defs>
<path d="M36.5,72.3989847 C30.1200762,72.3989847 23.6867853,71.9072092 17.3805591,70.9376364 C9.38945362,69.7075622 3.19377382,63.511445 1.96378653,55.5197754 C0.0120711563,42.8314592 0.0120711563,29.9652396 1.96378653,17.2781941 C3.19377382,9.28652446 9.38945362,3.09040727 17.3805591,1.86033314 C23.6867853,0.890760249 30.1200762,0.398984746 36.5,0.398984746 C42.8799238,0.398984746 49.3132147,0.890760249 55.6194409,1.86033314 C63.6105464,3.09040727 69.8062262,9.28652446 71.0362135,17.2781941 C72.9879288,29.9652396 72.9879288,42.8314592 71.0362135,55.5197754 C69.8062262,63.511445 63.6105464,69.7075622 55.6194409,70.9376364 C49.3132147,71.9072092 42.8799238,72.3989847 36.5,72.3989847" id="path-1"></path>
</defs>
<g id="Games" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="bet-on-poker-no-more-bets-copy-2" transform="translate(-255.000000, -172.000000)">
<g id="Stacked-Group-3" transform="translate(254.000000, 71.000000)">
<g id="NUM-Copy-41">
<g id="NUM-unchecked">
<g id="NUM">
<g id="Group-5" transform="translate(0.500000, 101.000000)">
<mask id="mask-2" fill="white">
<use xlink:href="#path-1"></use>
</mask>
<use id="Fill-1" fill="#353749" xlink:href="#path-1"></use>
<g id="Group-2" mask="url(#mask-2)" fill="#B0BBD4" opacity="0.0699404762">
<g transform="translate(36.500000, 36.500000) rotate(-315.000000) translate(-36.500000, -36.500000) translate(-27.000000, -27.000000)">
<circle id="Oval" cx="63.4285714" cy="19.7142857" r="19.7142857"></circle>
<circle id="Oval-Copy" cx="63.4285714" cy="107.142857" r="19.7142857"></circle>
<circle id="Oval-Copy-3" cx="19.7142857" cy="63.4285714" r="19.7142857"></circle>
<circle id="Oval-Copy-4" cx="107.142857" cy="63.4285714" r="19.7142857"></circle>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
<div class="number">
<span class="num-val">3</span>
</div>
</div>
<div class="elem far">
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="73px" viewBox="0 0 72 73" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Group 5</title>
<desc>Created with Sketch.</desc>
<defs>
<path d="M36.5,72.3989847 C30.1200762,72.3989847 23.6867853,71.9072092 17.3805591,70.9376364 C9.38945362,69.7075622 3.19377382,63.511445 1.96378653,55.5197754 C0.0120711563,42.8314592 0.0120711563,29.9652396 1.96378653,17.2781941 C3.19377382,9.28652446 9.38945362,3.09040727 17.3805591,1.86033314 C23.6867853,0.890760249 30.1200762,0.398984746 36.5,0.398984746 C42.8799238,0.398984746 49.3132147,0.890760249 55.6194409,1.86033314 C63.6105464,3.09040727 69.8062262,9.28652446 71.0362135,17.2781941 C72.9879288,29.9652396 72.9879288,42.8314592 71.0362135,55.5197754 C69.8062262,63.511445 63.6105464,69.7075622 55.6194409,70.9376364 C49.3132147,71.9072092 42.8799238,72.3989847 36.5,72.3989847" id="path-1"></path>
</defs>
<g id="Games" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="bet-on-poker-no-more-bets-copy-2" transform="translate(-255.000000, -172.000000)">
<g id="Stacked-Group-3" transform="translate(254.000000, 71.000000)">
<g id="NUM-Copy-41">
<g id="NUM-unchecked">
<g id="NUM">
<g id="Group-5" transform="translate(0.500000, 101.000000)">
<mask id="mask-2" fill="white">
<use xlink:href="#path-1"></use>
</mask>
<use id="Fill-1" fill="#353749" xlink:href="#path-1"></use>
<g id="Group-2" mask="url(#mask-2)" fill="#B0BBD4" opacity="0.0699404762">
<g transform="translate(36.500000, 36.500000) rotate(-315.000000) translate(-36.500000, -36.500000) translate(-27.000000, -27.000000)">
<circle id="Oval" cx="63.4285714" cy="19.7142857" r="19.7142857"></circle>
<circle id="Oval-Copy" cx="63.4285714" cy="107.142857" r="19.7142857"></circle>
<circle id="Oval-Copy-3" cx="19.7142857" cy="63.4285714" r="19.7142857"></circle>
<circle id="Oval-Copy-4" cx="107.142857" cy="63.4285714" r="19.7142857"></circle>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
<div class="number">
<span class="num-val">1</span>
</div>
</div>
<div class="elem far match">
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="73px" viewBox="0 0 72 73" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Group 5</title>
<desc>Created with Sketch.</desc>
<defs>
<path d="M36.5,72.3989847 C30.1200762,72.3989847 23.6867853,71.9072092 17.3805591,70.9376364 C9.38945362,69.7075622 3.19377382,63.511445 1.96378653,55.5197754 C0.0120711563,42.8314592 0.0120711563,29.9652396 1.96378653,17.2781941 C3.19377382,9.28652446 9.38945362,3.09040727 17.3805591,1.86033314 C23.6867853,0.890760249 30.1200762,0.398984746 36.5,0.398984746 C42.8799238,0.398984746 49.3132147,0.890760249 55.6194409,1.86033314 C63.6105464,3.09040727 69.8062262,9.28652446 71.0362135,17.2781941 C72.9879288,29.9652396 72.9879288,42.8314592 71.0362135,55.5197754 C69.8062262,63.511445 63.6105464,69.7075622 55.6194409,70.9376364 C49.3132147,71.9072092 42.8799238,72.3989847 36.5,72.3989847" id="path-1"></path>
</defs>
<g id="Games" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="bet-on-poker-no-more-bets-copy-2" transform="translate(-255.000000, -172.000000)">
<g id="Stacked-Group-3" transform="translate(254.000000, 71.000000)">
<g id="NUM-Copy-41">
<g id="NUM-unchecked">
<g id="NUM">
<g id="Group-5" transform="translate(0.500000, 101.000000)">
<mask id="mask-2" fill="white">
<use xlink:href="#path-1"></use>
</mask>
<use id="Fill-1" fill="#353749" xlink:href="#path-1"></use>
<g id="Group-2" mask="url(#mask-2)" fill="#B0BBD4" opacity="0.0699404762">
<g transform="translate(36.500000, 36.500000) rotate(-315.000000) translate(-36.500000, -36.500000) translate(-27.000000, -27.000000)">
<circle id="Oval" cx="63.4285714" cy="19.7142857" r="19.7142857"></circle>
<circle id="Oval-Copy" cx="63.4285714" cy="107.142857" r="19.7142857"></circle>
<circle id="Oval-Copy-3" cx="19.7142857" cy="63.4285714" r="19.7142857"></circle>
<circle id="Oval-Copy-4" cx="107.142857" cy="63.4285714" r="19.7142857"></circle>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
<div class="number">
<span class="num-val">80</span>
</div>
</div>
<div class="elem far">
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="73px" viewBox="0 0 72 73" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Group 5</title>
<desc>Created with Sketch.</desc>
<defs>
<path d="M36.5,72.3989847 C30.1200762,72.3989847 23.6867853,71.9072092 17.3805591,70.9376364 C9.38945362,69.7075622 3.19377382,63.511445 1.96378653,55.5197754 C0.0120711563,42.8314592 0.0120711563,29.9652396 1.96378653,17.2781941 C3.19377382,9.28652446 9.38945362,3.09040727 17.3805591,1.86033314 C23.6867853,0.890760249 30.1200762,0.398984746 36.5,0.398984746 C42.8799238,0.398984746 49.3132147,0.890760249 55.6194409,1.86033314 C63.6105464,3.09040727 69.8062262,9.28652446 71.0362135,17.2781941 C72.9879288,29.9652396 72.9879288,42.8314592 71.0362135,55.5197754 C69.8062262,63.511445 63.6105464,69.7075622 55.6194409,70.9376364 C49.3132147,71.9072092 42.8799238,72.3989847 36.5,72.3989847" id="path-1"></path>
</defs>
<g id="Games" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="bet-on-poker-no-more-bets-copy-2" transform="translate(-255.000000, -172.000000)">
<g id="Stacked-Group-3" transform="translate(254.000000, 71.000000)">
<g id="NUM-Copy-41">
<g id="NUM-unchecked">
<g id="NUM">
<g id="Group-5" transform="translate(0.500000, 101.000000)">
<mask id="mask-2" fill="white">
<use xlink:href="#path-1"></use>
</mask>
<use id="Fill-1" fill="#353749" xlink:href="#path-1"></use>
<g id="Group-2" mask="url(#mask-2)" fill="#B0BBD4" opacity="0.0699404762">
<g transform="translate(36.500000, 36.500000) rotate(-315.000000) translate(-36.500000, -36.500000) translate(-27.000000, -27.000000)">
<circle id="Oval" cx="63.4285714" cy="19.7142857" r="19.7142857"></circle>
<circle id="Oval-Copy" cx="63.4285714" cy="107.142857" r="19.7142857"></circle>
<circle id="Oval-Copy-3" cx="19.7142857" cy="63.4285714" r="19.7142857"></circle>
<circle id="Oval-Copy-4" cx="107.142857" cy="63.4285714" r="19.7142857"></circle>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
<div class="number">
<span class="num-val">7</span>
</div>
</div>
<div class="elem far">
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="73px" viewBox="0 0 72 73" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Group 5</title>
<desc>Created with Sketch.</desc>
<defs>
<path d="M36.5,72.3989847 C30.1200762,72.3989847 23.6867853,71.9072092 17.3805591,70.9376364 C9.38945362,69.7075622 3.19377382,63.511445 1.96378653,55.5197754 C0.0120711563,42.8314592 0.0120711563,29.9652396 1.96378653,17.2781941 C3.19377382,9.28652446 9.38945362,3.09040727 17.3805591,1.86033314 C23.6867853,0.890760249 30.1200762,0.398984746 36.5,0.398984746 C42.8799238,0.398984746 49.3132147,0.890760249 55.6194409,1.86033314 C63.6105464,3.09040727 69.8062262,9.28652446 71.0362135,17.2781941 C72.9879288,29.9652396 72.9879288,42.8314592 71.0362135,55.5197754 C69.8062262,63.511445 63.6105464,69.7075622 55.6194409,70.9376364 C49.3132147,71.9072092 42.8799238,72.3989847 36.5,72.3989847" id="path-1"></path>
</defs>
<g id="Games" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="bet-on-poker-no-more-bets-copy-2" transform="translate(-255.000000, -172.000000)">
<g id="Stacked-Group-3" transform="translate(254.000000, 71.000000)">
<g id="NUM-Copy-41">
<g id="NUM-unchecked">
<g id="NUM">
<g id="Group-5" transform="translate(0.500000, 101.000000)">
<mask id="mask-2" fill="white">
<use xlink:href="#path-1"></use>
</mask>
<use id="Fill-1" fill="#353749" xlink:href="#path-1"></use>
<g id="Group-2" mask="url(#mask-2)" fill="#B0BBD4" opacity="0.0699404762">
<g transform="translate(36.500000, 36.500000) rotate(-315.000000) translate(-36.500000, -36.500000) translate(-27.000000, -27.000000)">
<circle id="Oval" cx="63.4285714" cy="19.7142857" r="19.7142857"></circle>
<circle id="Oval-Copy" cx="63.4285714" cy="107.142857" r="19.7142857"></circle>
<circle id="Oval-Copy-3" cx="19.7142857" cy="63.4285714" r="19.7142857"></circle>
<circle id="Oval-Copy-4" cx="107.142857" cy="63.4285714" r="19.7142857"></circle>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
<div class="number">
<span class="num-val">45</span>
</div>
</div>
<div class="elem far">
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="73px" viewBox="0 0 72 73" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Group 5</title>
<desc>Created with Sketch.</desc>
<defs>
<path d="M36.5,72.3989847 C30.1200762,72.3989847 23.6867853,71.9072092 17.3805591,70.9376364 C9.38945362,69.7075622 3.19377382,63.511445 1.96378653,55.5197754 C0.0120711563,42.8314592 0.0120711563,29.9652396 1.96378653,17.2781941 C3.19377382,9.28652446 9.38945362,3.09040727 17.3805591,1.86033314 C23.6867853,0.890760249 30.1200762,0.398984746 36.5,0.398984746 C42.8799238,0.398984746 49.3132147,0.890760249 55.6194409,1.86033314 C63.6105464,3.09040727 69.8062262,9.28652446 71.0362135,17.2781941 C72.9879288,29.9652396 72.9879288,42.8314592 71.0362135,55.5197754 C69.8062262,63.511445 63.6105464,69.7075622 55.6194409,70.9376364 C49.3132147,71.9072092 42.8799238,72.3989847 36.5,72.3989847" id="path-1"></path>
</defs>
<g id="Games" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="bet-on-poker-no-more-bets-copy-2" transform="translate(-255.000000, -172.000000)">
<g id="Stacked-Group-3" transform="translate(254.000000, 71.000000)">
<g id="NUM-Copy-41">
<g id="NUM-unchecked">
<g id="NUM">
<g id="Group-5" transform="translate(0.500000, 101.000000)">
<mask id="mask-2" fill="white">
<use xlink:href="#path-1"></use>
</mask>
<use id="Fill-1" fill="#353749" xlink:href="#path-1"></use>
<g id="Group-2" mask="url(#mask-2)" fill="#B0BBD4" opacity="0.0699404762">
<g transform="translate(36.500000, 36.500000) rotate(-315.000000) translate(-36.500000, -36.500000) translate(-27.000000, -27.000000)">
<circle id="Oval" cx="63.4285714" cy="19.7142857" r="19.7142857"></circle>
<circle id="Oval-Copy" cx="63.4285714" cy="107.142857" r="19.7142857"></circle>
<circle id="Oval-Copy-3" cx="19.7142857" cy="63.4285714" r="19.7142857"></circle>
<circle id="Oval-Copy-4" cx="107.142857" cy="63.4285714" r="19.7142857"></circle>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
<div class="number">
<span class="num-val">37</span>
</div>
</div>
<div class="elem far">
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="73px" viewBox="0 0 72 73" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Group 5</title>
<desc>Created with Sketch.</desc>
<defs>
<path d="M36.5,72.3989847 C30.1200762,72.3989847 23.6867853,71.9072092 17.3805591,70.9376364 C9.38945362,69.7075622 3.19377382,63.511445 1.96378653,55.5197754 C0.0120711563,42.8314592 0.0120711563,29.9652396 1.96378653,17.2781941 C3.19377382,9.28652446 9.38945362,3.09040727 17.3805591,1.86033314 C23.6867853,0.890760249 30.1200762,0.398984746 36.5,0.398984746 C42.8799238,0.398984746 49.3132147,0.890760249 55.6194409,1.86033314 C63.6105464,3.09040727 69.8062262,9.28652446 71.0362135,17.2781941 C72.9879288,29.9652396 72.9879288,42.8314592 71.0362135,55.5197754 C69.8062262,63.511445 63.6105464,69.7075622 55.6194409,70.9376364 C49.3132147,71.9072092 42.8799238,72.3989847 36.5,72.3989847" id="path-1"></path>
</defs>
<g id="Games" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="bet-on-poker-no-more-bets-copy-2" transform="translate(-255.000000, -172.000000)">
<g id="Stacked-Group-3" transform="translate(254.000000, 71.000000)">
<g id="NUM-Copy-41">
<g id="NUM-unchecked">
<g id="NUM">
<g id="Group-5" transform="translate(0.500000, 101.000000)">
<mask id="mask-2" fill="white">
<use xlink:href="#path-1"></use>
</mask>
<use id="Fill-1" fill="#353749" xlink:href="#path-1"></use>
<g id="Group-2" mask="url(#mask-2)" fill="#B0BBD4" opacity="0.0699404762">
<g transform="translate(36.500000, 36.500000) rotate(-315.000000) translate(-36.500000, -36.500000) translate(-27.000000, -27.000000)">
<circle id="Oval" cx="63.4285714" cy="19.7142857" r="19.7142857"></circle>
<circle id="Oval-Copy" cx="63.4285714" cy="107.142857" r="19.7142857"></circle>
<circle id="Oval-Copy-3" cx="19.7142857" cy="63.4285714" r="19.7142857"></circle>
<circle id="Oval-Copy-4" cx="107.142857" cy="63.4285714" r="19.7142857"></circle>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
<div class="number">
<span class="num-val">71</span>
</div>
</div>
<div class="elem far">
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="73px" viewBox="0 0 72 73" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Group 5</title>
<desc>Created with Sketch.</desc>
<defs>
<path d="M36.5,72.3989847 C30.1200762,72.3989847 23.6867853,71.9072092 17.3805591,70.9376364 C9.38945362,69.7075622 3.19377382,63.511445 1.96378653,55.5197754 C0.0120711563,42.8314592 0.0120711563,29.9652396 1.96378653,17.2781941 C3.19377382,9.28652446 9.38945362,3.09040727 17.3805591,1.86033314 C23.6867853,0.890760249 30.1200762,0.398984746 36.5,0.398984746 C42.8799238,0.398984746 49.3132147,0.890760249 55.6194409,1.86033314 C63.6105464,3.09040727 69.8062262,9.28652446 71.0362135,17.2781941 C72.9879288,29.9652396 72.9879288,42.8314592 71.0362135,55.5197754 C69.8062262,63.511445 63.6105464,69.7075622 55.6194409,70.9376364 C49.3132147,71.9072092 42.8799238,72.3989847 36.5,72.3989847" id="path-1"></path>
</defs>
<g id="Games" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="bet-on-poker-no-more-bets-copy-2" transform="translate(-255.000000, -172.000000)">
<g id="Stacked-Group-3" transform="translate(254.000000, 71.000000)">
<g id="NUM-Copy-41">
<g id="NUM-unchecked">
<g id="NUM">
<g id="Group-5" transform="translate(0.500000, 101.000000)">
<mask id="mask-2" fill="white">
<use xlink:href="#path-1"></use>
</mask>
<use id="Fill-1" fill="#353749" xlink:href="#path-1"></use>
<g id="Group-2" mask="url(#mask-2)" fill="#B0BBD4" opacity="0.0699404762">
<g transform="translate(36.500000, 36.500000) rotate(-315.000000) translate(-36.500000, -36.500000) translate(-27.000000, -27.000000)">
<circle id="Oval" cx="63.4285714" cy="19.7142857" r="19.7142857"></circle>
<circle id="Oval-Copy" cx="63.4285714" cy="107.142857" r="19.7142857"></circle>
<circle id="Oval-Copy-3" cx="19.7142857" cy="63.4285714" r="19.7142857"></circle>
<circle id="Oval-Copy-4" cx="107.142857" cy="63.4285714" r="19.7142857"></circle>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
<div class="number">
<span class="num-val">33</span>
</div>
</div>
</div>
body{
background: #191B28;
}
span{
color: #fff;
font-family: sans-serif;
}
@keyframes bounceInRight {
from,
60%,
75%,
90%,
to {
-webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
from {
opacity: 0;
-webkit-transform: translate3d(3000px, 0, 0) rotateZ(30deg);
transform: translate3d(3000px, 0, 0) rotateZ(30deg);
}
60% {
opacity: 1;
-webkit-transform: translate3d(-25px, 0, 0)rotateZ(-10deg);
transform: translate3d(-25px, 0, 0) rotateZ(-10deg) scale(1.2);
}
to {
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
.elem-container{
width: 100%;
height: 80px;
overflow: hidden;
padding-top: 8px;
padding-left: 51px;
max-width: 902px;
margin: 0 auto;
position: relative;
background: #191B28;
border-radius: 40px
}
.elem{
width: 72px;
height: 72px;
margin-left: 12px;
position: relative;
float: left;
animation-duration: 2s;
animation-timing-function: easeInOut;
}
.far{
transform: translate3d(3000px, 0, 0);
}
.visible{
animation-name: bounceInRight;
}
.elem.match .number{
border-color: #659B89;
}
.number{
position: absolute;
border-radius:60px;
border: 4px solid #43465B;
position: absolute;
box-sizing: border-box;
width: 58px;
height: 58px;
top: 7px;
left: 6px;
}
.num-val{
display: block;
text-align: center;
line-height: 54px;
font-size: 36px;
font-weight: 800;
}
var go = function(){
$('.elem').each(function(i){
var row = $(this);
row.addClass('far');
row.removeClass("visible")
setTimeout(function() {
row.addClass('visible');
row.removeClass("far")
}, 1000*i);
});
}
go();
setInterval(function(){
go();
}, 11200)
Also see: Tab Triggers