JavaScript
2020.9.11
用JavaScript制作一个计时器,实现开始、暂停、复位功能
2020.09.15修改
最终效果:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
#miaoBiao {
width: 550px;
height: 450px;
background-color: #1d262d;
overflow: hidden;
margin: 50px auto;
border-radius: 150px;
}
#dingShi {
width: 400px;
height: 230px;
background-color: #d0eaeb;
text-align: center;
padding-top: 0px;
margin: 110px auto;
border-radius: 40px;
}
#dingShi p {
font