-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
48 lines (44 loc) · 887 Bytes
/
index.html
File metadata and controls
48 lines (44 loc) · 887 Bytes
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
<!DOCTYPE html>
<html>
<head><title>Just a second</title>
<body>
<h1></h1>
<!-- 45" -->
<input type="checkbox" id="start45">
<!-- 15" -->
<input type="checkbox" id="start15">
<!-- 11' -->
<input type="checkbox" id="start11">
<!-- 1° -->
<input type="checkbox" id="hour">
<!-- Sama Vritti Pranayama -->
<input type="checkbox" id="samavritti">
<div class="timeme"></div>
<style>
.timeme{
width:100%;
height:1000px;
background:white;
}
#start45:checked ~ .timeme{
animation: timer 45s linear forwards;
}
#start15:checked ~ .timeme{
animation: timer 15s linear forwards;
}
#start11:checked ~ .timeme{
animation: timer 666s linear forwards;
}
#hour:checked ~ .timeme{
animation: timer 3600s linear forwards;
}
#samavritti:checked ~ .timeme{
animation: timer 9s infinite;
}
@keyframes timer{
from{width:100%}
to{width:0; background: black;}
}
</style>
</body>
</html>