效果图

额外功能
- 左键单击计时器数字区,不显示或显示秒钟区。
- 左键双击计时器数字区,暂停或启动计时器。计时完毕,只能刷新页面启动计时器。
- 输入框可输入备注信息,输入框失去焦点或计时完毕后,时间戳附带备注信息会存入本地。
- 左键双击进度条区,可将导出历来使用计数器所处时间及备注信息。
- 两audio标签可填个人喜爱音频文件的路径作启动、结束时的音乐。
放码过来
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Countdown Timer</title>
<style type="text/css">
input{
padding-bottom: 0px;
padding-top: 0px;
border-top-width: 0px;
border-left-width: 0px;
border-right-width: 0px;
font-size: 20px;
width:100%;
}
</style>
</head>
<body>
<span id="numbers" style="white-space:nowrap;"></span>
<table id="table1" >
<tr>
<td style="background-color:rgb(41, 74, 155);padding:3px;"></td>
<td></td>
</tr>
<tr>
<td style="width:100%;" colspan=2>
<input id="content"/>
</td>
</tr>
<tr>
<td style="width:100%;" colspan=2>
<canvas id="my