-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
69 lines (61 loc) · 2.21 KB
/
index.html
File metadata and controls
69 lines (61 loc) · 2.21 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
<!-- =========================================================
SCROLLIFY-JS
https://github.com/emmanpbarrameda/scrollify-js
© emmanpbarrameda - https://emmanpbarrameda.github.io/
========================================================= -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Scrollify by emmanpbarrameda - Scroll Progress Bar Indicator</title>
<!-- Scrollify CSS -->
<link rel="stylesheet" href="./scrollify-scrollprogress-indicator.css" />
</head>
<body>
<!-- =====================================================
HOW TO USE: TOP SCROLL PROGRESS BAR
- Customize via data-height, data-background, data-z-index, data-top
====================================================== -->
<div
class="scrollify_scroll_progress"
data-height="3px"
data-background="linear-gradient(to left, #B374F8, #4da3ff)"
data-z-index="999"
data-top="0px">
</div>
<!-- =====================================================
HOW TO USE: BACK TO TOP (CIRCULAR PROGRESS)
- Customize via data-position, data-offset, data-size, data-stroke, data-show
- Color via data-progress-color "OR" data-progress-gradient
- Toggle hover nudge via data-hover="false"
====================================================== -->
<button
id="scrollify_scroll_progress_backToTop"
class="scrollify-btt"
data-position="right"
data-offset="20"
data-size="44"
data-stroke="3"
data-show="300"
data-progress-color="#0ea5e9"
data-track-color="rgba(14,165,233,0.2)"
data-hover="true"
aria-label="Back to top"
title="Back to top">
</button>
<!-- content -->
<div style="height: 2000px">
Scroll down to see the scrollify-js progress bar indicator! <br />
© emmanpbarrameda -
<a
href="https://emmanpbarrameda.github.io/"
target="_blank"
rel="noopener noreferrer">
https://emmanpbarrameda.github.io/
</a>
</div>
<!-- Scrollify JS -->
<script src="./scrollify-scrollprogress-indicator.js"></script>
</body>
</html>