-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
78 lines (78 loc) · 3.55 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>AniMachine</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="dist/animate.min.css">
<script src='./dist/ani-machine.min.js'></script>
</head>
<body>
<div class="container">
<h2 am-element class="special-header"
data-am=":enter top move 200px">Ani Machine
</h2>
<span class="subtitle" data-am=":enter left move 500px">Declarative animation and machine state</span>
<div class="element"
data-am=":enter left move 400px scale 200% over 0.3s :go next"
data-am-next=":animate tada :on enter :animate pulse :on leave :animate tada">
</div>
<div class="element"
data-am=":enter top move 400px scale 400% over 0.6s :go next"
data-am-next=":animate tada :on enter :animate pulse :on leave :animate tada">
</div>
<div class="element element--white"
data-am=":enter bottom move 400px scale 600% over 0.9s :go next"
data-am-next=":animate tada :on enter :animate pulse :on leave :animate tada">
</div>
<div class="element"
data-am=":enter right move 400px scale 800% over 1.2s :go next"
data-am-next=":animate tada :on enter :animate pulse :on leave :animate tada">
</div>
<div class="demolink">
<a class="link" href="./demo/01.html"
data-am=":enter top move 800px over 1.5s :go next"
data-am-next=":animate pulse :on enter :animate pulse :on enter :animate tada">Trigger & Reveal Animation
</a>
</div>
<div class="demolink demolink--nice">
<a class="link" href="./demo/02.html"
data-am=":enter left move 800px over 1.5s :go next"
data-am-next=":animate pulse :on enter :animate pulse :on enter :animate tada">Trigger Reveal Animation
</a>
</div>
<div class="demolink demolink--nice">
<a class="link" href="./demo/03.html"
data-am=":enter right move 800px over 1.5s :go next"
data-am-next=":animate pulse :on enter :animate pulse :on enter :animate tada">Animation Element Event
</a>
</div>
<div class="demolink demolink--nice">
<a class="link" href="./demo/04.html"
data-am=":enter left move 800px over 1.5s :go next"
data-am-next=":animate pulse :on enter :animate pulse :on enter :animate tada">Before & After Callback
</a>
</div>
<div class="demolink demolink--nice">
<a class="link" href="./demo/05.html"
data-am=":enter right move 800px over 1.5s :go next"
data-am-next=":animate pulse :on enter :animate pulse :on enter :animate tada">Advanced Animation
</a>
</div>
<div class="demolink demolink--nice">
<a class="link" href="./demo/06.html"
data-am=":enter left move 800px over 1.5s :go next"
data-am-next=":animate pulse :on enter :animate pulse :on enter :animate tada">Transform Animation
</a>
</div>
<div class="demolink demolink--nice">
<a class="link" href="./demo/07.html"
data-am=":enter bottom move 800px over 1.5s :go next"
data-am-next=":animate pulse :on enter :animate pulse :on enter :animate tada">Shake Animation
</a>
</div>
</div>
<a href="https://github.com/jfroffice/ani-machine"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
<script>am.start();</script>
</body>
</html>