-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (61 loc) · 1.54 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
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>medir</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #252525;
}
.vertical {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.start {
width: 400px;
height: 400px;
border-radius: 1000px;
border: 5px solid #5e5c5c;
background-color: #6cc178;
color: #3d423e;
font-weight: bolder;
font-size: 80px;
margin: 0 auto;
line-height: 1.5;
}
.start:active {
box-shadow: 0px 10px 6px rgba(0, 128, 0, 0.5);
border: 10px solid #959595;
}
.crono {
background-color: #6cc178;
font-size: 36px;
margin-top: 20px;
padding: 20px;
width: 150px;
color: #3d423e;
border-radius: 20px;
border: 2px solid #3d423e;
font-weight: 600;
font-family: arial;
}
</style>
</head>
<body>
<section class="vertical">
<button class="start" id="start" onclick="start()">
START
</button>
<div id="crono" class="crono">00:00:00</div>
</section>
<script src="script.js"></script>
</body>
</html>