-
Notifications
You must be signed in to change notification settings - Fork 78
/
index.html
executable file
·98 lines (98 loc) · 4.65 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
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Smooth scrolling and inner image animation | Codrops</title>
<meta name="description" content="A smooth scrolling and inner image animation effect." />
<meta name="keywords" content="smooth scrolling, animation, image effect, web design, tutorial, javascript" />
<meta name="author" content="Codrops" />
<link rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" href="https://use.typekit.net/qrg0pyh.css">
<link rel="stylesheet" type="text/css" href="css/base.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 class="loading">
<main>
<div data-scroll>
<div class="frame">
<div class="frame__title-wrap">
<h1 class="frame__title">Smooth scrolling and inner image animation</h1>
</div>
<div class="frame__links">
<a href="https://tympanus.net/Development/DraggableMenu/">Previous Demo</a>
<a href="https://tympanus.net/codrops/?p=41030">Article</a>
<a href="https://github.com/codrops/SmoothScrollAnimations/">GitHub</a>
</div>
</div>
<div class="content">
<div class="item">
<div class="item__img-wrap"><div class="item__img item__img--t1"></div></div>
<div class="item__caption">
<h2 class="item__caption-title">Central view</h2>
<p class="item__caption-copy">Great turbulent clouds emerged into consciousness citizens.</p>
</div>
</div>
<div class="item">
<div class="item__img-wrap"><div class="item__img item__img--t2"></div></div>
<div class="item__caption">
<h2 class="item__caption-title">Lost in time</h2>
<p class="item__caption-copy">Brain is the seed of intelligence the sky calls to us a very small stage.</p>
</div>
</div>
<div class="item">
<div class="item__img-wrap"><div class="item__img item__img--t3"></div></div>
<div class="item__caption">
<h2 class="item__caption-title">Ready to land</h2>
<p class="item__caption-copy">Cosmos encyclopaedia galactica a billion trillion culture cosmic ocean.</p>
</div>
</div>
<div class="item">
<div class="item__img-wrap"><div class="item__img item__img--t1"></div></div>
<div class="item__caption">
<h2 class="item__caption-title">All equal</h2>
<p class="item__caption-copy">Network of wormholes dream of the mind's eye finite but unbounded concept.</p>
</div>
</div>
<div class="item">
<div class="item__img-wrap"><div class="item__img item__img--t2"></div></div>
<div class="item__caption">
<h2 class="item__caption-title">Connections</h2>
<p class="item__caption-copy">Two ghostly white figures in coveralls and helmets are softly dancing vastness.</p>
</div>
</div>
<div class="item">
<div class="item__img-wrap"><div class="item__img item__img--t3"></div></div>
<div class="item__caption">
<h2 class="item__caption-title">The state of divergence</h2>
<p class="item__caption-copy">Vastness is bearable only through love invent the universe vanquish.</p>
</div>
</div>
<div class="item">
<div class="item__img-wrap"><div class="item__img item__img--t1"></div></div>
<div class="item__caption">
<h2 class="item__caption-title">Open perspective</h2>
<p class="item__caption-copy">The only home we've ever known concept of the number one.</p>
</div>
</div>
<div class="item">
<div class="item__img-wrap"><div class="item__img item__img--t3"></div></div>
<div class="item__caption">
<h2 class="item__caption-title">Discovery of shapes</h2>
<p class="item__caption-copy">Decipherment explorations tesseract as a patch of light.</p>
</div>
</div>
<div class="item">
<div class="item__img-wrap"><div class="item__img item__img--t2"></div></div>
<div class="item__caption">
<h2 class="item__caption-title">The Observer</h2>
<p class="item__caption-copy">Astonishment muse about dispassionate extraterrestrial observer.</p>
</div>
</div>
</div>
</div>
</main>
<script src="js/imagesloaded.pkgd.min.js"></script>
<script src="js/demo.js"></script>
</body>
</html>