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.
טוען…
Trophy Icon
v1.0
A trophy icon that draws itself on hover and bounces up as its cup fills from the bottom when won, and empties again when it is not.
React + HTML
חינם
מתאים ל
Achievements, challenge wins, leaderboards, completed goals and contest results.
איך זה עובד
Hover it and the cup draws in, then the handles and the base. Win and the trophy bounces up once while the cup fills from the bottom up in the result color; turn it off and the cup empties.
איך משתמשים
קשרו את style.css ו-script.js מהעמוד שלכם, ואז הדביקו את הקוד מ-index.html במקום שבו הוא צריך להופיע.