DEV Community

Discussion on: Create an Analog Clock with Vanilla Javascript(For Beginners)

Collapse
 
squidiw profile image
Koranteng Anane

How did you fix the issue of the second-hand "glitch rotate" when it gets to the 12hr mark? The sudden return to the 90deg transform?

Collapse
 
bringablazer profile image
BringABlazer

You need to remove all of the transition part:
transition: 0.3s all;
transition-timing-function: cubic-bezier(0.1, 2.7, 0.58, 1);