-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.html
93 lines (84 loc) · 2.49 KB
/
main.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>PoseNet Example</title>
<link rel="stylesheet" href="style.css">
<style>
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f4f4f4;
}
#timer-setup {
text-align: center;
background-color: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
display: flex; /* 플렉스 컨테이너로 설정 */
flex-direction: column; /* 자식 요소들을 수직으로 정렬 */
align-items: center; /* 가로축을 중심으로 중앙 정렬 */
}
h2 {
color: #4CAF50;
margin-bottom: 10px;
}
.timer-display {
font-size: 2em;
margin: 20px 0;
border: 2px solid #ddd;
padding: 10px;
border-radius: 50%;
width: 100px;
height: 100px;
display: flex;
justify-content: center;
align-items: center;
}
input[type="number"] {
padding: 10px;
width: 200px;
margin-top: 10px;
border: 2px solid #ccc;
border-radius: 5px;
}
button {
padding: 10px 20px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
font-size: 24px;
cursor: pointer;
margin-top: 10px;
}
button:hover {
background-color: #45a049;
}
p {
color: #888;
margin-top: 10px;
}
</style>
</head>
<body>
<div id="timer-setup">
<h2>Save the spine</h2>
<div class="timer-display">
<span id="time-minutes">00</span>:<span id="time-seconds">00</span>
</div>
<div>
<input type="number" id="minutes-input" min="0" placeholder="Minutes">
<input type="number" id="seconds-input" min="0" max="59" placeholder="Seconds">
</div>
<button onclick="startTimer()">▶️</button>
<p>Please set the time</p>
</div>
<script src="app.js"></script>
</body>
</html>