Skip to content

folmert/scroll_up

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

scroll_up

Simple "Scroll to top" button.

  • no jQuery
  • no need of adding new code to your project
  • only 2 files
  • button icon styled in CSS, no images needed

How to use

Add to your project 2 files:

<link href="scroll_up/css/scroll_up.css" rel="stylesheet" />
<script src="scroll_up/js/scroll_up.js"></script>

scroll_up automatically adds to the end of the body div.scroll_up element which shows up when the site is scrolled down by more than 300px.

About

"Scroll to top" button made with CSS (no img)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published