Simple clock
Hello
Can someone help me why it is not working?
https://codepen.io/lanszelot/pen/yyyzPwL
5 Replies
it is working
it's just being overridden by the animation
https://stackoverflow.com/questions/69136726/starting-a-css-animation-from-a-different-position
^ i found this trick: set the
animation-delay
to a negative value, and it will "start" from the point you want.
for the seconds hand, if you set the animation-delay
to -30s, it will start at 30s.
instead of calculating the degrees, you can use this trickFirst of all thank you for your help.
Something not ok with hour.
Pointer is in opposite side.
I found it. I wrote wrong number in css. ☺️
that happens
Thank you so much for help
you're welcome