-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathindex.html
More file actions
44 lines (41 loc) · 1.54 KB
/
index.html
File metadata and controls
44 lines (41 loc) · 1.54 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Keyframes Example</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="ball-container">
<div id="ball"></div>
<br />
<input type="button" onclick="play('normal')" value="Ease Move" />
<input type="button" onclick="play('linear')" value="Linear Move" />
<input type="button" onclick="play('delay')" value="2 Second Delay" />
<input type="button" onclick="play('once')" value="Move Once" />
<input type="button" onclick="play('spin')" value="Spin" />
<input type="button" onclick="play('multi')" value="Multiple Animations" />
<input type="button" onclick="play('queued')" value="Queued Animations" />
<input type="button" onclick="play('loop')" value="Loop Animations" />
<br /><br />
<input type="button" onclick="play('bezier')" value="Bezier Path" />
<input type="button" onclick="play('circle')" value="Circle Path" />
<br /><br />
<input type="button" onclick="play('spritesheet')" value="Spritesheet" />
<br /><br />
<input type="button" onclick="pause()" value="Pause" />
<input type="button" onclick="resume()" value="Resume" />
<input type="button" onclick="reset()" value="Reset" />
<br />
<br />Callback count: <b id="cb">0</b>
</div>
<br />
<br />
<div class="pong">
<div class="half-line"></div>
<div class="paddle paddle-left"></div>
<div class="paddle paddle-right"></div>
<div class="ball"></div>
</div>
<script type="text/javascript" src="example.dist.js"></script>
</body>
</html>