-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathindex.html
61 lines (53 loc) · 2.44 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
<!DOCTYPE html>
<html lang="en" ng-app="angular-flippy-demo">
<head>
<link rel="stylesheet" href="../node_modules/bootstrap/dist/css/bootstrap.css">
<link rel="stylesheet" href="../dist/css/angular-flippy.css">
<link rel="stylesheet" href="../dist/css/angular-flippy-fancy.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
</head>
<body>
<div class="container">
<h1>angular-flippy Demo Page</h1>
<p>
Please refer to the <a href="https://github.com/zwacky/angular-flippy">README.md</a> for instructions on how to use angular-flippy.
</p>
<br><br><br><br><br><br>
<div class="col-sm-4" ng-repeat="item in [1, 2, 3]">
<h2>Item #{{$index+1}} (horizontal)</h2>
<flippy
class="fancy"
flip="['click']"
flip-back="['click']"
duration="800"
timing-function="ease-in-out">
<flippy-front>
<img src="http://placehold.it/300x300&text=Im the front" alt="the front" />
</flippy-front>
<flippy-back>
<img src="http://placehold.it/300x300&text=Aaaaaand the back" alt="the back" />
</flippy-back>
</flippy>
</div>
<div class="col-sm-4" ng-repeat="item in [4, 5, 6]">
<h2>Item #{{$index+1}} (vertical)</h2>
<flippy vertical
class="fancy"
flip="['click']"
flip-back="['click']"
duration="800"
timing-function="ease-in-out">
<flippy-front>
<img src="http://placehold.it/300x300&text=Im the front" alt="the front" />
</flippy-front>
<flippy-back>
<img src="http://placehold.it/300x300&text=Aaaaaand the back" alt="the back" />
</flippy-back>
</flippy>
</div>
</div>
<script type="text/javascript" src="../node_modules/angular/angular.js"></script>
<script type="text/javascript" src="./demo-app.js"></script>
<script type="text/javascript" src="../dist/js/angular-flippy.js"></script>
</body>
</html>