-
Notifications
You must be signed in to change notification settings - Fork 1
/
new.html
88 lines (77 loc) · 1.83 KB
/
new.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
<!DOCTYPE html>
<html>
<head>
<title>Yay</title>
<link rel="stylesheet" type="text/css" href="new.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
</head>
<body>
<div class="say-hello">
<h1 class="ml8">
<span class="letters-container">
<span class="letters letters-left">Hi</span>
<span class="letters bang">!</span>
</span>
<span class="circle circle-white"></span>
<span class="circle circle-dark"></span>
<span class="circle circle-container"><span class="circle circle-dark-dashed"></span></span>
</h1>
</div>
<h1>lalalal</h1>
<script type="text/javascript">
$(document).ready(function() {
$('.say-hello').delay(2800).fadeOut('slow');
});
</script>
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/2.0.2/anime.min.js"></script>
<script type="text/javascript">
anime.timeline({loop: false})
.add({
targets: '.ml8 .circle-white',
scale: [0, 3],
opacity: [1, 0],
easing: "easeInOutExpo",
rotateZ: 360,
duration: 1100
}).add({
targets: '.ml8 .circle-container',
scale: [0, 1],
duration: 1100,
easing: "easeInOutExpo",
offset: '-=1000'
}).add({
targets: '.ml8 .circle-dark',
scale: [0, 1],
duration: 1100,
easing: "easeOutExpo",
offset: '-=600'
}).add({
targets: '.ml8 .letters-left',
scale: [0, 1],
duration: 1200,
offset: '-=550'
}).add({
targets: '.ml8 .bang',
scale: [0, 1],
rotateZ: [45, 15],
duration: 1200,
offset: '-=1000'
}).add({
targets: '.ml8',
opacity: 0,
duration: 1000,
easing: "easeOutExpo",
delay: 1400
});
anime({
targets: '.ml8 .circle-dark-dashed',
rotateZ: 360,
duration: 8000,
easing: "linear",
loop: false
});
</script>
</body>
</html>