* { margin: 0; padding: 0; box-sizing: border-box; } body { font-size: 0.28rem; } .box { background: #dfebff; width: 4.8rem; height: 4.8rem; margin: 2rem auto; border-radius: 50%; position: relative; box-shadow: 0 -0.06rem 1rem rgba(0, 0, 0, 0.1) inset, 0 0 0.2rem rgba(0, 0, 0, 0.1); } .set-box { text-align: center; } .set-box input { height: 0.6rem; width: 1.8rem; text-align: center; } .set-box button { height: 0.6rem; width: 0.8rem; } .calibration { position: relative; width: 100%; height: 100%; } .calibration span { position: absolute; margin-left: 0.22rem; margin-top: 0.21rem; } .pointer { top: 0.9rem; left: 0.9rem; position: absolute; width: 3rem; height: 3rem; } .pointer span { display: block; position: relative; width: 100%; height: 100%; border-radius: 50%; background: #dde9ff; box-shadow: 0 -0.06rem 0.5rem rgba(0, 0, 0, 0.1) inset, 0 0 0.1rem rgba(0, 0, 0, 0.1); text-align: center; line-height: 3rem; font-size: 0.56rem; z-index: 2; } .pointer i { position: absolute; height: 3rem; width: 0; background: red; left: 50%; top: 0; transition: 0.5s; z-index: 0; } .pointer i:before { position: absolute; content: ''; width: 0; height: 0; margin-left: -0.1rem; bottom: -0.2rem; border-top: 0.26rem solid #000; border-left: 0.1rem solid transparent; border-right: 0.1rem solid transparent; } .tisp { font-size:0; position: absolute; left:0; right:0; bottom:0.32rem; text-align: center; } .tisp i{ display: inline-block; width: 0.24rem; height: 0.24rem; background: #61d6d0; box-shadow: 0.01rem 0.02rem 0.06rem rgba(0,0,0,0.3) inset; border-radius: 50%; margin: 0 0.2rem; } .tisp i:last-child{ background: #fda8a8; }