-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (51 loc) · 1.94 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta charset="UTF-8">
<title>Crystal Ball 2020!</title>
<link rel="shortcut icon" href="./favicon.ico"/>
<link rel="stylesheet" type="text/css" href="./assets/css/style.css">
</head>
<body translate="no" class="noisy">
<!-- <div class="emblem"><span class="icon-information"></span></div>
<div class="frame">
<div class="piece output content">
<div class="header-content clearfix">
<p class="header">距<span class="year">2020</span></p>
<p class="header">左翼大反攻</p>
<p class="header">还有:</p>
</div>
<ul class="time-clock">
<li><span id="days"></span>days</li>
<li><span id="hours"></span>Hours</li>
<li><span id="minutes"></span>Minutes</li>
<li><span id="seconds"></span>Seconds</li>
</ul>
</div>
<div class="device-bottom-img" style="display:none;">
<img src="./test01.png">
</div>
<div class="piece scanlines noclick"></div>
<div class="piece glow noclick"></div>
</div> -->
</body>
<!-- <script type="text/javascript">
const second = 1000,
minute = second * 60,
hour = minute * 60,
day = hour * 24;
let countDown = new Date('Jan 1, 2020 00:00:00').getTime(),
x = setInterval(function() {
let now = new Date().getTime(),
distance = countDown - now;
document.getElementById('days').innerText = Math.floor(distance / (day)),
document.getElementById('hours').innerText = Math.floor((distance % (day)) / (hour)),
document.getElementById('minutes').innerText = Math.floor((distance % (hour)) / (minute)),
document.getElementById('seconds').innerText = Math.floor((distance % (minute)) / second);
}, second)
</script> -->
<script type="text/javascript">
window.location.href='http://www.crystalball2020.xyz/';
</script>
</html>