-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (58 loc) · 1.53 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cronometro</title>
<style>
* {
margin: 0 auto;
padding: 0;
}
body {
background-color: #111;
}
.max-width {
max-width: 500px;
width: 100%;
padding: 10px;
box-sizing: border-box;
margin-top: 10%;
background-color: #fff;
box-shadow: 0 0 5px #fff;
text-align: center;
}
h1 {
font-family:'Courier New', Courier, monospace;
}
button {
padding: 10px;
border: none;
font-family: "segoe UI";
font-size: 1.1em;
transition: all .5s;
cursor: pointer;
border-radius: 25px;
}
button:hover {
background-color: #a1c0d1;
}
.bg-green {
background-color: #b2d1a1;
}
.bg-yellow {
background-color: #d1a1a1;
}
</style>
</head>
<body>
<div class="max-width">
<button onclick="star()" class="bg-green">Iniciar</button>
<button onclick="pause()" class="bg-yellow">Pausar</button>
<button onclick="stop()" class="bg-red">Parar</button>
<h1 id="counter">00:00:00</h1>
<script src="cron.js"></script>
</div>
</body>
</html>