forked from letstri/timezz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tests.html
47 lines (41 loc) · 840 Bytes
/
tests.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
<!DOCTYPE html>
<meta charset="UTF-8">
<title>TimezZ test page</title>
<style>
body {
font-family: Arial;
}
.timer,
.timer2 {
font-size: 70px;
text-align: center;
margin-top: 100px;
color: #555;
}
.timer i {
color: #bbb;
font-size: 40px;
}
.timer2 span {
font-weight: normal;
text-transform: uppercase;
color: #bbb;
}
</style>
<div class="timer j-timer-first"></div>
<div class="timer2 j-timer-second"></div>
<script src="dist/timezz.js"></script>
<script>
new TimezZ('.j-timer-first', {
daysName: ' days,',
hoursName: ' hours,',
minutesName: ' minutes,',
secondsName: ' seconds',
template: '<span>NUMBER</span><i>LETTER</i> ',
});
new TimezZ('.j-timer-second', {
date: 'Jan 1, 2019',
tagNumber: 'b',
tagLetter: 'span',
});
</script>