Skip to content

Scrollpercent for showing the percentage of page that has been scrolled

License

Notifications You must be signed in to change notification settings

vaibhav111tandon/scrollpercent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scrollpercent

Use the scrollpercent by adding the following cdn to the head of the HTML file

<link href="https://cdn.jsdelivr.net/gh/vaibhav111tandon/scrollpercent@latest/styles.css" rel="stylesheet" type="text/css">
<script src="https://cdn.jsdelivr.net/gh/vaibhav111tandon/scrollpercent@latest/script.js"></script>

Usage

<div class="scrollpercent"></div>

Add class bottom-left or bottom-right to define the position of the scrollpercent. By default its position is top-left.

<div class="scrollpercent bottom-right"></div>

About

Scrollpercent for showing the percentage of page that has been scrolled

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published