主要逻辑 根据JS 的Date属性 求得当前的 时 分 秒 之后,按照 360/(时|分|秒) 来对三个指针元素进行旋转
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
#box {
width: 600px;
height: 600px;
/*border: 1px solid #000;*/
background: url("img/bg.png") no-repeat;
background-size: cover;
margin: 30px auto;
position: relative;
overflow: hidden;
}
#h{
width:100%;
height:100%;
background: url("img/h.png") no-repeat;
background-size: cover;
position: absolute;
}
#m{
width:100%;
height:100%;
back