-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
501 lines (452 loc) · 24 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
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
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Animation Library - SCSS / CSS3</title>
<meta name="description" content="Pure CSS Animation Library. Made with love at Later.com" />
<meta name="keywords" content="animations, ui, user interface, web design, html, css, scss, fade, rotate, bounce, slide, flip, zoom, attention"
/>
<meta name="author" content="Kaustubh Menon" />
<link rel="shortcut icon" href="favicon.ico">
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="assets/css/normalize.css" />
<link rel="stylesheet" type="text/css" href="assets/css/base.css" />
<link rel="stylesheet" type="text/css" href="assets/css/animation-library-min.css" />
<script>
document.documentElement.className = "js";
var supportsCssVars = function () {
var e, t = document.createElement("style");
return t.innerHTML = "root: { --tmp-var: bold; }", document.head.appendChild(t), e = !!(window.CSS && window.CSS.supports && window.CSS.supports("font-weight", "var(--tmp-var)")), t.parentNode.removeChild(t), e
}; supportsCssVars() || alert("Please view this demo in a modern browser that supports CSS Variables.");
</script>
</head>
<body>
<svg class="hidden">
<symbol id="icon-arrow" viewBox="0 0 24 24">
<title>arrow</title>
<polygon points="6.3,12.8 20.9,12.8 20.9,11.2 6.3,11.2 10.2,7.2 9,6 3.1,12 9,18 10.2,16.8 " />
</symbol>
<symbol id="icon-drop" viewBox="0 0 24 24">
<title>drop</title>
<path d="M12,21c-3.6,0-6.6-3-6.6-6.6C5.4,11,10.8,4,11.4,3.2C11.6,3.1,11.8,3,12,3s0.4,0.1,0.6,0.3c0.6,0.8,6.1,7.8,6.1,11.2C18.6,18.1,15.6,21,12,21zM12,4.8c-1.8,2.4-5.2,7.4-5.2,9.6c0,2.9,2.3,5.2,5.2,5.2s5.2-2.3,5.2-5.2C17.2,12.2,13.8,7.3,12,4.8z"
/>
<path d="M12,18.2c-0.4,0-0.7-0.3-0.7-0.7s0.3-0.7,0.7-0.7c1.3,0,2.4-1.1,2.4-2.4c0-0.4,0.3-0.7,0.7-0.7c0.4,0,0.7,0.3,0.7,0.7C15.8,16.5,14.1,18.2,12,18.2z"
/>
</symbol>
<symbol id="icon-menu" viewBox="0 0 24 13">
<title>menu</title>
<path d="M.75 1.515h22.498a.75.75 0 0 0 0-1.5H.75a.75.75 0 0 0 0 1.5zM23.248 5.265H8.168a.75.75 0 0 0 0 1.5h15.08a.75.75 0 0 0 0-1.5zM23.248 10.514H4.322a.75.75 0 0 0 0 1.5h18.926a.75.75 0 0 0 0-1.5z"
/>
</symbol>
<symbol id="icon-dot" viewBox="0 0 24 24">
<title>dot</title>
<path d="M11.5 9c-.69 0-1.28.244-1.768.732A2.41 2.41 0 0 0 9 11.5c0 .69.244 1.28.732 1.767A2.409 2.409 0 0 0 11.5 14c.69 0 1.28-.244 1.768-.733A2.408 2.408 0 0 0 14 11.5c0-.69-.244-1.28-.732-1.768A2.408 2.408 0 0 0 11.5 9z"
/>
</symbol>
<symbol id="icon-cross" viewBox="0 0 24 24">
<title>cross</title>
<path d="M11.449 11.962l-5.1 5.099a.363.363 0 1 0 .513.512L12 12.436l5.137 5.137a.361.361 0 0 0 .513 0 .363.363 0 0 0 0-.512l-5.099-5.1 5.102-5.102a.363.363 0 1 0-.512-.513L12 11.487l-5.141-5.14a.363.363 0 0 0-.513.512l5.103 5.103z"
/>
</symbol>
<symbol id="icon-arrowlong" viewBox="0 0 32 11">
<title>arrow-long</title>
<path d="M27.166.183a.619.619 0 0 0-.878 0 .619.619 0 0 0 0 .878l2.735 2.735H.768a.624.624 0 0 0 0 1.248h28.254L26.287 7.77a.619.619 0 0 0 0 .878.617.617 0 0 0 .441.183c.163 0 .32-.061.442-.183l3.796-3.796a.623.623 0 0 0-.005-.878L27.166.183z"
/>
</symbol>
<symbol id="icon-close" viewBox="0 0 24 24">
<title>close</title>
<path d="M21 4.565L19.435 3 12 10.435 4.565 3 3 4.565 10.435 12 3 19.435 4.565 21 12 13.565 19.435 21 21 19.435 13.565 12z"
/>
</symbol>
<symbol id="icon-navup" viewBox="0 0 50 50">
<title>navup</title>
<path d="M20.259 28.211l5.07-5.03 5.075 5.034a.36.36 0 0 0 .51 0 .356.356 0 0 0 0-.506l-5.323-5.28a.404.404 0 0 0-.135-.084.364.364 0 0 0-.384.08l-5.324 5.28a.356.356 0 0 0 0 .506c.141.14.37.14.51 0z"
/>
</symbol>
<symbol id="icon-navdown" viewBox="0 0 50 50">
<title>navdown</title>
<path d="M20.259 22.43l5.07 5.03 5.075-5.034a.36.36 0 0 1 .51 0c.14.14.14.366 0 .506l-5.323 5.28a.404.404 0 0 1-.135.084.364.364 0 0 1-.384-.081l-5.324-5.28a.356.356 0 0 1 0-.505c.141-.14.37-.14.51 0z"
/>
</symbol>
<symbol id="icon-grid" viewBox="0 0 24 24">
<title>grid</title>
<path d="M8.982 8.982h5.988v5.988H8.982zM0 0h5.988v5.988H0zM8.982 17.965h5.988v5.988H8.982zM0 8.982h5.988v5.988H0zM0 17.965h5.988v5.988H0zM17.965 0h5.988v5.988h-5.988zM8.982 0h5.988v5.988H8.982zM17.965 8.982h5.988v5.988h-5.988zM17.965 17.965h5.988v5.988h-5.988z"
/>
</symbol>
</svg>
<main>
<div class="sections">
<!-- menu -->
<header class="sections__header">
<h1 class="title">Animation Library</h1>
</header>
<!-- menu -->
<nav class="menu">
<ul class="menu__inner">
<li class="menu__item">
<a class="menu__item-link" href="https://github.com/Latermedia/animation-library" target="_blank">view on github</a>
</li>
<li class="menu__item">
<a class="menu__item-link" href="assets/downloads/animation-library.zip" target="_blank">direct download</a>
</li>
<li class="menu__item">
<a class="menu__item-link" href="https://later.com/" target="_blank">visit us at Later.com</a>
</li>
</ul>
<div class="menu__header">animation library</div>
<div class="menu__toggle">
<span class="menu__toggle-inner menu__toggle-inner--open">
<svg class="icon icon--menu">
<use xlink:href="#icon-menu"></use>
</svg>
</span>
<span class="menu__toggle-inner menu__toggle-inner--close">
<svg class="icon icon--close">
<use xlink:href="#icon-close"></use>
</svg>
</span>
</div>
</nav>
<div class="facts">
<div class="facts__toggle">
<span class="facts__toggle-inner facts__toggle-inner--more"></span>
<span class="facts__toggle-inner facts__toggle-inner--less"></span>
</div>
<button class="button-contentclose"></button>
</div>
<!-- index -->
<div class="sections__index">
<span class="sections__index-current">
<span class="sections__index-inner">01</span>
</span>
<span class="sections__index-total">08</span>
</div>
<!-- navigation down -->
<nav class="sections__nav">
<button class="sections__nav-item sections__nav-item--prev">
<svg class="icon icon--navup">
<use xlink:href="#icon-navup"></use>
</svg>
</button>
<button class="sections__nav-item sections__nav-item--next">
<svg class="icon icon--navdown">
<use xlink:href="#icon-navdown"></use>
</svg>
</button>
</nav>
<!-- sections -->
<!-- section: 1 -->
<section class="section section--current">
<div class="section__content">
<h2 class="section__title">Fade</h2>
<p class="section__description">
<span class="section__description-inner">Incorporates Fade-In and Fade-Out, allows you to fade content from multiple directions.</span>
</p>
</div>
<div class="section__img">
<div class="section__img-inner section__img-inner--bg1">
<div id="img--container--1">
<img class="section__float" src="assets/img/robot.svg" title="Robot" />
<div class="section_shadow"></div>
</div>
</div>
</div>
<div class="section__more">
<div class="section__more-inner section__more-inner--bg1">
<h3 class="section__more-title">Select Animation Style</h3>
<!-- Select Container -->
<div class="section__select">
<select id="eSB--component--1">
<option value="" selected="selected">Select</option>
<option value="u--fadeIn">Fade In</option>
<option value="u--fadeInLeft">Fade In Left</option>
<option value="u--fadeInRight">Fade In Right</option>
<option value="u--fadeInUp">Fade In Up</option>
<option value="u--fadeInDown">Fade In Down</option>
<option value="u--fadeOut">Fade Out</option>
<option value="u--fadeOutLeft">Fade Out Left</option>
<option value="u--fadeOutRight">Fade Out Right</option>
<option value="u--fadeOutUp">Fade Out Up</option>
<option value="u--fadeOutDown">Fade Out Down</option>
</select>
</div>
</div>
</div>
<div class="section__expander"></div>
<ul class="section__facts">
<li class="section__facts-item"></li>
</ul>
</section>
<!--/ section -->
<!-- section: 2 -->
<section class="section">
<div class="section__content">
<h2 class="section__title">Bounce</h2>
<p class="section__description">
<span class="section__description-inner">Bounces content In and Out, allows you to bounce content from multiple directions.</span>
</p>
</div>
<div class="section__img">
<div class="section__img-inner section__img-inner--bg2">
<div id="img--container--2">
<img class="section__float" src="assets/img/robot.svg" title="Robot" />
<div class="section_shadow"></div>
</div>
</div>
</div>
<div class="section__more">
<div class="section__more-inner section__more-inner--bg2">
<h3 class="section__more-title">Select Animation Style</h3>
<!-- Select Container -->
<div class="section__select">
<select id="eSB--component--2">
<option value="" selected="selected">Select</option>
<option value="u--bounceIn">Bounce In</option>
<option value="u--bounceOut">Bounce Out</option>
<option value="u--bounceInLeft">Bounce In Left</option>
<option value="u--bounceInRight">Bounce In Right</option>
<option value="u--bounceInUp">Bounce In Up</option>
<option value="u--bounceInDown">Bounce In Down</option>
</select>
</div>
</div>
</div>
<div class="section__expander"></div>
<ul class="section__facts">
<li class="section__facts-item"></li>
</ul>
</section>
<!--/ section -->
<!-- section: 3 -->
<section class="section">
<div class="section__content">
<h2 class="section__title">Rotate</h2>
<p class="section__description">
<span class="section__description-inner">Rotates content Up and Down, from the center of origin.</span>
</p>
</div>
<div class="section__img">
<div class="section__img-inner section__img-inner--bg3">
<div id="img--container--3">
<img class="section__float" src="assets/img/robot.svg" title="Robot" />
<div class="section_shadow"></div>
</div>
</div>
</div>
<div class="section__more">
<div class="section__more-inner section__more-inner--bg3">
<h3 class="section__more-title">Select Animation Style</h3>
<!-- Select Container -->
<div class="section__select">
<select id="eSB--component--3">
<option value="" selected="selected">Select</option>
<option value="u--rotate">Rotate</option>
<option value="u--rotateUpLeft">Rotate Up Left</option>
<option value="u--rotateUpRight">Rotate Up Right</option>
<option value="u--rotateDownLeft">Rotate Down Left</option>
<option value="u--rotateDownRight">Rotate Down Right</option>
</select>
</div>
</div>
</div>
<div class="section__expander"></div>
<ul class="section__facts">
<li class="section__facts-item"></li>
</ul>
</section>
<!--/ section -->
<!-- section: 4 -->
<section class="section">
<div class="section__content">
<h2 class="section__title">Slide</h2>
<p class="section__description">
<span class="section__description-inner">Slides content in multiple directions, starts in the opposite direction and finished in the intended
position.</span>
</p>
</div>
<div class="section__img">
<div class="section__img-inner section__img-inner--bg4">
<div id="img--container--4">
<img class="section__float" src="assets/img/robot.svg" title="Robot" />
<div class="section_shadow"></div>
</div>
</div>
</div>
<div class="section__more">
<div class="section__more-inner section__more-inner--bg4">
<h3 class="section__more-title">Select Animation Style</h3>
<!-- Select Container -->
<div class="section__select">
<select id="eSB--component--4">
<option value="" selected="selected">Select</option>
<option value="u--slideUp">Slide Up</option>
<option value="u--slideDown">Slide Down</option>
<option value="u--slideLeft">Slide Left</option>
<option value="u--slideRight">Slide Right</option>
</select>
</div>
</div>
</div>
<div class="section__expander"></div>
<ul class="section__facts">
<li class="section__facts-item"></li>
</ul>
</section>
<!--/ section -->
<!-- section: 5 -->
<section class="section">
<div class="section__content">
<h2 class="section__title">flip</h2>
<p class="section__description">
<span class="section__description-inner">Flips content on the x or the y axis.</span>
</p>
</div>
<div class="section__img">
<div class="section__img-inner section__img-inner--bg5">
<div id="img--container--5">
<img class="section__float" src="assets/img/robot.svg" title="Robot" />
<div class="section_shadow"></div>
</div>
</div>
</div>
<div class="section__more">
<div class="section__more-inner section__more-inner--bg5">
<h3 class="section__more-title">Select Animation Style</h3>
<!-- Select Container -->
<div class="section__select">
<select id="eSB--component--5">
<option value="" selected="selected">Select</option>
<option value="u--flip">Flip</option>
<option value="u--flipX">Flip X</option>
<option value="u--flipY">Flip Y</option>
</select>
</div>
</div>
</div>
<div class="section__expander"></div>
<ul class="section__facts">
<li class="section__facts-item"></li>
</ul>
</section>
<!--/ section -->
<!-- section: 6 -->
<section class="section">
<div class="section__content">
<h2 class="section__title">zoom in</h2>
<p class="section__description">
<span class="section__description-inner">Scales content into view, starts very small and scales to full magnification.</span>
</p>
</div>
<div class="section__img">
<div class="section__img-inner section__img-inner--bg6">
<div id="img--container--6">
<img class="section__float" src="assets/img/robot.svg" title="Robot" />
<div class="section_shadow"></div>
</div>
</div>
</div>
<div class="section__more">
<div class="section__more-inner section__more-inner--bg6">
<h3 class="section__more-title">Select Animation Style</h3>
<!-- Select Container -->
<div class="section__select">
<select id="eSB--component--6">
<option value="" selected="selected">Select</option>
<option value="u--zoomIn">Zoom In</option>
<option value="u--zoomInDown">Zoom In Down</option>
<option value="u--zoomInUp">Zoom In Up</option>
</select>
</div>
</div>
</div>
<div class="section__expander"></div>
<ul class="section__facts">
<li class="section__facts-item"></li>
</ul>
</section>
<!--/ section -->
<!-- section: 7 -->
<section class="section">
<div class="section__content">
<h2 class="section__title">zoom out</h2>
<p class="section__description">
<span class="section__description-inner">Scales content out of view, starts at full magnification then scales to zero.</span>
</p>
</div>
<div class="section__img">
<div class="section__img-inner section__img-inner--bg7">
<div id="img--container--7">
<img class="section__float" src="assets/img/robot.svg" title="Robot" />
<div class="section_shadow"></div>
</div>
</div>
</div>
<div class="section__more">
<div class="section__more-inner section__more-inner--bg7">
<h3 class="section__more-title">Select Animation Style</h3>
<!-- Select Container -->
<div class="section__select">
<select id="eSB--component--7">
<option value="" selected="selected">Select</option>
<option value="u--zoomOut">Zoom Out</option>
<option value="u--zoomOutDown">Zoom Out Down</option>
<option value="u--zoomOutUp">Zoom Out Up</option>
</select>
</div>
</div>
</div>
<div class="section__expander"></div>
<ul class="section__facts">
<li class="section__facts-item"></li>
</ul>
</section>
<!--/ section -->
<!-- section: 8 -->
<section class="section">
<div class="section__content">
<h2 class="section__title">attention</h2>
<p class="section__description">
<span class="section__description-inner">Some eye catching animatted effets to grab the users attention.</span>
</p>
</div>
<div class="section__img">
<div class="section__img-inner section__img-inner--bg8">
<div id="img--container--8">
<img class="section__float" src="assets/img/robot.svg" title="Robot" />
<div class="section_shadow"></div>
</div>
</div>
</div>
<div class="section__more">
<div class="section__more-inner section__more-inner--bg8">
<h3 class="section__more-title">Select Animation Style</h3>
<!-- Select Container -->
<div class="section__select">
<select id="eSB--component--8">
<option value="" selected="selected">Select</option>
<option value="u--pulse">Pulse</option>
<option value="u--flash">Flash</option>
<option value="u--bounce">Bounce</option>
<option value="u--shake">Shake</option>
<option value="u--swing">Swing</option>
</select>
</div>
</div>
</div>
<div class="section__expander"></div>
<ul class="section__facts">
<li class="section__facts-item"></li>
</ul>
</section>
<!--/ section -->
</div>
<!--/ sections -->
</main>
<script src="assets/js/imagesloaded.pkgd.min.js"></script>
<script src="assets/js/charming.min.js"></script>
<script src="assets/js/anime.min.js"></script>
<script src="assets/js/main.js"></script>
<script src="assets/js/animate.js"></script>
</body>
</html>