transform-origin
transform: rotate()
transition
transform-origin
transition-time-function
const secondDeg = (second / 60) * 360 + 90;
second = 60 时, secondDeg = 450 下一秒
second = 0 时, secondDeg = 90 这会造成指针从450度闪到90度
在90度时,取消transition
属性
secondHand.style.transition = (secondDeg === 90)?'all 0s':'all .5s'