forked from h5bp/Effeckt.css
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
230 lines (173 loc) · 8.19 KB
/
index.html
File metadata and controls
230 lines (173 loc) · 8.19 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
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Effeckt.css</title>
<meta name="description" content="UI-Less & Performant Transitions & Animations">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<link rel="stylesheet" href="css/demo/demo.autoprefixed.css">
<!-- Individual module CSS files here -->
<!-- Should we combine or not combine? -->
<link rel="stylesheet" href="css/modules/modals.autoprefixed.css">
<link rel="stylesheet" href="css/modules/modals-1.autoprefixed.css">
<link rel="stylesheet" href="css/modules/modals-2.autoprefixed.css">
<link rel="stylesheet" href="css/modules/buttons-1.autoprefixed.css">
<link rel="stylesheet" href="css/modules/list-items-1.autoprefixed.css">
<link rel="stylesheet" href="css/modules/toggles-flipInOutX.autoprefixed.css">
</head>
<body>
<!-- dialogs first is important for ~ selector -->
<div class="effeckt-modal" id="effeckt-modal">
<h3>Modal Dialog</h3>
<div class="effeckt-modal-content">
<p>This is a modal window.</p>
<button class="effeckt-modal-close">Close me!</button>
</div>
</div>
<!-- overlay coming after is important for ~ selector -->
<div class="effeckt-overlay no-transitions" id="effeckt-overlay"></div>
<div class="page-wrap no-transitions" id="page-wrap">
<h1>
<span>E</span>
<span>f</span>
<span>f</span>
<span>e</span>
<span>c</span>
<span>k</span>
<span>t</span>
<span>.</span>
<span>c</span>
<span>s</span>
<span>s</span>
</h1>
<subhead>Performant CSS transitions & animations</subhead>
<!-- TODO: Break this up into separate files -->
<!-- Possibilities:
1. Grunt includes https://github.com/vanetix/grunt-includes
2. Jade includes
3. $.load with jQuery
4. Something else? PHP?
-->
<div class="effeckt effeckt-demo-modals-1">
<h2>
Modals 1
<a href="http://codepen.io/chriscoyier/pen/EGbxc">(source)</a>
</h2>
<button class="modal-button" data-modal-type="from-above">From Above</button>
<button class="modal-button" data-modal-type="from-below">From Below</button>
</div>
<div class="effeckt effeckt-demo-modals-2">
<h2>
Modals 2
<a href="http://tympanus.net/codrops/2013/06/25/nifty-modal-window-effects/">(source)</a>
</h2>
<button class="modal2-button" data-modal-type="modal-1">Fade in & Scale</button>
<button class="modal2-button" data-modal-type="modal-2">Slide in (right)</button>
<button class="modal2-button" data-modal-type="modal-3">Slide in (bottom)</button>
<button class="modal2-button" data-modal-type="modal-4">Newspaper</button>
<button class="modal2-button" data-modal-type="modal-5">Fall</button>
<button class="modal2-button" data-modal-type="modal-6">Side Fall</button>
<button class="modal2-button" data-modal-type="modal-7">Sticky Up</button>
<button class="modal2-button" data-modal-type="modal-8">3D Flip (horizontal)</button>
<button class="modal2-button" data-modal-type="modal-9">3D Flip (vertical)</button>
<button class="modal2-button" data-modal-type="modal-10">3D Sign</button>
<button class="modal2-button" data-modal-type="modal-11">Super Scaled</button>
<button class="modal2-button" data-modal-type="modal-12">Just Me</button>
<button class="modal2-button" data-modal-type="modal-13">3D Slit</button>
<button class="modal2-button" data-modal-type="modal-14">3D Rotate Bottom</button>
<button class="modal2-button" data-modal-type="modal-15">3D Rotate In Left</button>
<button class="modal2-button" data-modal-type="modal-17" data-needs-perspective="true">Let me in</button>
<button class="modal2-button" data-modal-type="modal-18" data-needs-perspective="true">Make way!</button>
<button class="modal2-button" data-modal-type="modal-19" data-needs-perspective="true">Slip from top</button>
</div>
<div class="effeckt effeckt-demo-buttons-1 group">
<h2>
Buttons 1
<a href="http://lab.hakim.se/ladda/">(source)</a>
</h2>
<div class="button-demo-wrap">
<button class="ladda-button expand-right"><span class="label">Expand Right</span> <span class="spinner"></span></button>
</div>
<div class="button-demo-wrap">
<button class="ladda-button expand-left"><span class="label">Expand Left</span> <span class="spinner"></span></button>
</div>
<div class="button-demo-wrap">
<button class="ladda-button expand-up"><span class="label">Expand Up</span> <span class="spinner"></span></button>
</div>
<div class="button-demo-wrap">
<button class="ladda-button expand-down"><span class="label">Expand Down</span> <span class="spinner"></span></button>
</div>
<div class="button-demo-wrap">
<button class="ladda-button slide-left"><span class="label">Slide Left</span> <span class="spinner"></span></button>
</div>
<div class="button-demo-wrap">
<button class="ladda-button slide-right"><span class="label">Slide Right</span> <span class="spinner"></span></button>
</div>
<div class="button-demo-wrap">
<button class="ladda-button slide-up"><span class="label">Slide Up</span> <span class="spinner"></span></button>
</div>
<div class="button-demo-wrap">
<button class="ladda-button slide-down"><span class="label">Slide Down</span> <span class="spinner"></span></button>
</div>
<div class="button-demo-wrap">
<button class="ladda-button zoom-out"><span class="label">Zoom Out</span> <span class="spinner"></span></button>
</div>
<div class="button-demo-wrap">
<button class="ladda-button zoom-in"><span class="label">Zoom in</span> <span class="spinner"></span></button>
</div>
</div>
<div class="effeckt effeckt-demo-listitems-1 group">
<h2>
List Items 1
<a href="http://css-tricks.com/transitional-interfaces-coded/">(source)</a>
</h2>
<div class="effeckt-list-wrap" style="padding-right: 20px;">
<h4>Gap, Slide In</h4>
<ul class="effeckt-list" data-type="pop-in">
<li>list item</li>
<li>list item</li>
<li>list item</li>
<li>list item</li>
</ul>
<button class="">Add</button>
</div>
<div class="effeckt-list-wrap">
<h4>Expand In</h4>
<ul class="effeckt-list" data-type="expand-in">
<li>list item</li>
<li>list item</li>
<li>list item</li>
<li>list item</li>
</ul>
<button>Add</button>
</div>
</div>
<!-- #Effeckt Toggle Demos -->
<div class="effeckt effeckt-demo-listitems-1 group">
<h2>Toggle Effeckts <a href="#">(source)</a></h2>
<div class="effeckt-toggle-demo">
<button data-toggle-trigger="effeckt-flipInX">Flip In/OutX</button>
<div class="effeckt-togglecontent__flipInX visuallyhidden">
<p>Leo Fender† passed away on a rainy day in March of 1991, an event which shook the Music World: The father of modern music was gone. It was on that very day that Leo had completed his last prototype instrument, after which he declared to his wife Phyllis that he had given all he can to the musicians of the world.</p>
</div>
</div>
</div><!-- end/toggle demos -->
</div><!-- div.page-wrap -->
<!-- libs -->
<script src="//code.jquery.com/jquery-2.0.3.min.js"></script>
<script>window.jQuery || document.write('<script src="js/libs/jquery-2.0.3.min.js"><\/script>')</script>
<!-- for modals-2 -->
<script src="js/libs/classie.js"></script>
<!-- demo -->
<script src="js/demo/demo.js"></script>
<!-- Individual module JS files here -->
<!-- Should we combine or not combine? -->
<!-- Should we provide minified versions? -->
<script src="js/modules/modals-1.js"></script>
<script src="js/modules/modals-2.js"></script>
<script src="js/modules/buttons-1.js"></script>
<script src="js/modules/list-items-1.js"></script>
<script src="js/modules/toggles-flipInOutX.js"></script>
</body>
</html>