index.htmlpageThe markup to copy, between the copy-from-here comments, on a demo page.
style.cssstyleThe styles: copy them into your CSS.
script.jsscriptThe behavior: load it after the markup.
index.html
The markup to copy, between the copy-from-here comments, on a demo page.
正在加载…
适用场景
Rewards and points, cashback, earnings totals, in-app currency and tip jars.
工作原理
Hover it and the front coin draws in, then the back one and their marks. Once earned, the coins hop one after the other and fill with the result color, and a plus sign pops in at the corner, then it goes back.