Css Slot Machine Animation
Css Slot Machine Animation Average ratng: 4,8/5 3460 reviews
Quick and easy CSS3 rolling-number/slot machine?
Slot machine Sound Effects (194) Most recent Oldest Shortest duration Longest duration Any Length 2 sec 2 sec - 5 sec 5 sec - 20 sec 20 sec - 1 min 1 min All libraries Radio Mall SFX Bible BLASTWAVE FX Frank Serafine John Leonard Richard Humphries WW Audio Epic Stock Media Fusehive Ryan Wassil 2496 Sound Effects. Quick and easy CSS3 rolling-number/slot machine? GitHub Gist: instantly share code, notes, and snippets. The package includes the full source code for the entire slot machine, including HTML, CSS, Javascript and PHP code. It also includes extensive documentation on how to implement the slots in your own site, and how to customize every element of it, in case you want to.
dabblet.css
/** |
* Quick and easy CSS3 rolling-number/slot machine? |
*/ |
body { |
font-size: 700%; /* with this setup you get 1:1 em , so 1em is actually number 1 */ |
} |
#counter { |
height: 1em; |
overflow: hidden; |
} |
.digits { |
float:left; |
list-style-type: none; |
font-size: 1em; |
line-height: 1em; |
} |
.digits-first { |
margin-top: -4em; /* number 4! */ |
} |
.digits-second { |
margin-top: 0em; /* number 0! */ |
} |
.digits-third { |
margin-top: -4em; /* number 4! */ |
} |
.digits { |
animation-duration: 2s; |
animation-timing-function: ease; |
animation-delay: 2.2s; |
animation-fill-mode: forwards; |
} |
.luckie { |
animation-name: luckie; |
} |
/* Animations */ |
@keyframes luckie { |
100% { |
margin-top: -7em; |
} |
} |
dabblet.html
<!-- content to be placed inside <body>…</body> --> |
<divid='counter' class='animated'> |
<ulclass='digits digits-first luckie'><li> 0 <li> 1 <li> 2 <li> 3 <li> 4 <li> 5 <li> 6 <li> 7 <li> 8 <li> 9 </ul> |
<ulclass='digits digits-second luckie'><li> 0 <li> 1 <li> 2 <li> 3 <li> 4 <li> 5 <li> 6 <li> 7 <li> 8 <li> 9 </ul> |
<ulclass='digits digits-third luckie'><li> 0 <li> 1 <li> 2 <li> 3 <li> 4 <li> 5 <li> 6 <li> 7 <li> 8 <li> 9 </ul> |
</div> |
dabblet.js
Css Slot Machine Animation Games
settings.json
{'view':'split','fontsize':'100','seethrough':'','prefixfree':'1','page':'all'} |
Slot Machine Animation Css
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment