Html
    Css
    Js

    
                        
* {
	margin:0;
	padding:0;
}
.box {
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%,-50%);
	width:100%;
}
.box .times>span {
	font-size:16px;
}
.start {
	border:none;
	outline:none;
	font-size:16px;
	padding:4px 10px;
	border-radius:6px;
	background:greenyellow;
}
.end {
	border:none;
	outline:none;
	font-size:16px;
	padding:4px 10px;
	border-radius:6px;
	background:orangered;
}
.reset {
	border:none;
	outline:none;
	font-size:16px;
	padding:4px 10px;
	border-radius:6px;
	background:skyblue;
}
.times {
	width:100%;
	text-align:center;
	padding:10px 0;
	display:flex;
	justify-content:center;
	align-items:center;
}
.con {
	display:flex;
	justify-content:space-around;
	width:100%;
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:2.1.1
 立即下载

jQuery精确到毫秒级的计时器移动端修改版

更新时间:2019-12-15 23:09:02

修复计时器在时间达到1分钟后计算不准的bug

0