-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathmain.js
36 lines (31 loc) · 882 Bytes
/
main.js
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
var design = anime({
targets: '#newyear2020 #happy',
strokeDashoffset: [anime.setDashoffset, 0],
easing: 'easeInOutSine',
duration: 2000,
delay: function(el, i) { return i * 250 },
direction: 'alternate',
loop: true
});
var design = anime({
targets: '#newyear2020 #NEWYEAR',
strokeDashoffset: [anime.setDashoffset, 0],
easing: 'easeInOutSine',
duration: 2500,
delay: function(el, i) { return i * 250 },
direction: 'alternate',
loop: true
});
var design = anime({
targets: '#newyear2020 #Vector_43,#Vector_210,#Vector_207,#Vector_42,#Vector_45',
translateY: -10,
easing: 'easeInOutSine',
duration: 2500,
delay: function(el, i) { return i * 250 },
direction: 'alternate',
loop: true
});
document.addEventListener("click", function()
{
window.location="./index.html";
});