-
Notifications
You must be signed in to change notification settings - Fork 0
/
showcase.html
79 lines (78 loc) · 2.72 KB
/
showcase.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./content/css/main.css"/>
<link rel="stylesheet" href="./content/lib/asa.css"/>
<title>ASA JS</title>
</head>
<body>
<header>
<nav>
<div class="container">
<div class="nav-content">
<div class="nav-brand">Asa.JS</div>
<div class="nav-right-content">
<div class="nav-version">Version Beta</div>
</div>
</nav>
</div>
</nav>
</header>
<main>
<div class="container">
<div class="app-section">
<p class="app-header asa-text-content align-center"
id="text-1"
asa-gap="20"
asa-text="Animating Text Made Super Easy"
asa-run="0"
asa-iteration="infinite"
asa-animation="knock"
asa-duration="2000"></p>
<p class="app-header asa-text-content align-center"
id="text-2"
asa-gap="20"
asa-text="A variety of animation types!"
asa-run="0"
asa-iteration="infinite"
asa-animation="push"
asa-duration="2000"></p>
<p class="asa-text-content align-center"
id="text-3"
asa-gap="20"
asa-text="Regardless of text size and styles!"
asa-run="0"
asa-iteration="infinite"
asa-duration="2000"></p>
<p class="asa-text-content align-center"
id="text-3"
asa-gap="20"
asa-text="Regardless of text size and styles!"
asa-run="0"
asa-iteration="infinite"
asa-duration="2000"></p>
<p class="app-header asa-text-content align-center"
id="text-4"
asa-gap="20"
asa-text="Make your website fun & interactive"
asa-run="0"
asa-iteration="infinite"
asa-animation="rotate"
asa-duration="2000"></p>
<p class="text text-center">
Created by Joseph Morukhuladi
</p>
</div>
</div>
</main>
<script src="./content/lib/asa.js"></script>
<script>
window.addEventListener("load", function() {
['text-1', 'text-2', 'text-3', 'text-4']
.forEach(id => asa.run(document.getElementById(id)));
})
</script>
</body>
</html>