Skip to content

bendc/anchor-scroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Anchor scrolling library

Simple 1KB plugin for animating anchor links. View demo.

Usage

  1. Insert scroll.min.js in your page.
  2. Add a scroll class to your anchors.
<a class=scroll href=#intro>Intro</a>
<a class=scroll href=#about>About</a>

<section id=intro></section>
<section id=about></section>

<script src=scroll.min.js></script>

About

Smooth and lightweight anchor scrolling library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published