October 22, 2024
Chicago 12, Melborne City, USA
HTML

CSS button clock effect


I am currently developing a browser game, and I have a button to provide hints. I want to authorize the player to click on the "Hint" button after 60 seconds, and to show the loading time I would like the background of the button to show a "clock" effect, starting at 12 and rotating anti-clockwise until the time is up, with two colors showing . I have been looking online to try to find similar stuff, but I couldn’t find anything.

Here’s an example of what I had in mind:

enter image description here

Thanks for your help!



You need to sign in to view this answers

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video