-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathtweeny-graph.html
47 lines (45 loc) · 910 Bytes
/
tweeny-graph.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
font-family: monospace;
}
h1 {
margin: 5px;
}
.func {
display: inline-block;
margin: 5px;
position: relative;
}
.graph {
background-color: #EEE;
}
img {
width: 150px;
}
.dot {
position: absolute;
top: 15px;
color: red;
z-index: 2;
}
</style>
</head>
<body>
<h1>Tweeny Easing Functions</h1>
</body>
<script id="template" type="template">
<div class="func">
<div class="name">%(name)s</div>
<div class="graph">
<img src="%(img)s" />
</div>
<div class="dot">●</div>
</div>
</script>
<script data-main="js/tweeny-graph.js" src="js/require.js"></script>
</html>