-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
78 lines (72 loc) · 6.56 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
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="SavvySoftWorks, LLC - Scroll, Stick, and Fade. A transparent navigation bar that sticks to the top of the page on scroll and text fade as it scrolls underneath.">
<meta name="keywords" content="SavvySoftWorks, Scroll Stick and Fade, Paul Scarrone, Gary A. Newsome, Samantha Shurie">
<title>SavvySoftWorks | SCROLL STICK FADE</title>
<link rel="stylesheet" type="text/css" href="/node_modules/materialize-css/bin/materialize.css">
<link rel="stylesheet" type="text/css" href="/css/scrollstickfade.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="icon" type="image/x-icon" href="/node_modules/savvy-styles/logo/SavvySoftWorks_S.svg" />
</head>
<body>
<header class="container">
<h1>
<img src="/node_modules/savvy-styles/logo/SavvySoftWorks_Logo.svg" alt="SavvySoftWorks, LLC" class="responsive-img">
</h1>
</header>
<div class="fade-zone"></div>
<nav id="sub-nav" class="sub-nav-fixed">
<uL class="right">
<li><a href="http://savvysoftworks.com" target="_blank">SavvySoftWorks, LLC</a></li>
</uL>
</nav>
<main class="container" style="padding-top:2em;">
<h5>
Scroll, Stick, and Fade Away
</h5>
<p>
This is an abstraction of a navigation bar we created for <a href="http://savvyshots.photography.com" target="_blank">Savvy Shots Photography</a>'s website.
</p>
<p>
As you scroll down the page, when the navigation bar reaches the top it will become fixed to the top of the page.
</p>
<p>
Given the semitransparent nature of its color the text will naturally scroll underneath and still be visible. So we created a `fadebox` underneath that will fade the text out, mimicking the effect often used in movie credits.
</p>
<h6>
Requires:
</h6>
<p>
<ul>
<li><a href="https://yarnpkg.com/en/" target="_blank">Yarn</a> or <a href="https://www.npmjs.com/" target="_blank">NPM</a></li>
<li><a href="https://jquery.com/" target="blank">JQuery</a></li>
<li><a href="http://materializecss.com/" target="_blank">Materialize</a></li>
</ul>
<h5>
Obligatory Loren Ipsum
</h5>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
<p>
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
</p>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
<p>
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
</p>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
<p>
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
</p>
</main>
<script type="text/javascript" src="/node_modules/jquery/dist/jquery.js"></script>
<script type="text/javascript" src="/node_modules/materialize-css/js/materialize.js"></script>
<script src="/javascript/scrollstickfade.js"></script>
</body>
</html>