Simple clock

Hello Can someone help me why it is not working? https://codepen.io/lanszelot/pen/yyyzPwL
5 Replies
ἔρως
ἔρως17h ago
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 trick
lanszelot
lanszelotOP16h ago
First 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. ☺️
ἔρως
ἔρως16h ago
that happens
lanszelot
lanszelotOP16h ago
Thank you so much for help
ἔρως
ἔρως16h ago
you're welcome

Did you find this page helpful?