例:

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style>
#clock{
width: 400px;
height: 400px;
border: 1px solid red;
border-radius: 50%;
/*分 秒 相对表的定位*/
position: relative;
}
#minute{
width: 10px;
height: 100px;
background: black;
position: absolute;
top:100px;
left:196px;
}
#second{
width: 6px;
height: 140px;
background: blue;
position: absolute;
left:196px;
top:60px;
/*更换圆心点*/
transform-origin:bottom;
/*添加过渡*/
transition:transform 10s linear 0s;
}
#second:hover{
transform: rotate(360deg);
}
#minute{
transform-origin:bottom;
/*添加过渡*/
transition:transform 60s linear 0s;
}
#minute:hover{
transform: rotate(360deg);
}
</style>
</head>
<body>
<div id="clock">
<div id="minute"></div>
<div id="second"></div>
</div>
</body>
</html>