Projects
View on GitHub
bendc/anchor-scroll
About
Smooth and lightweight anchor scrolling library
Developer ToolsMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalAnchor scrolling library
Simple 1KB plugin for animating anchor links. View demo.
Usage
- Insert
scroll.min.jsin your page. - Add a
scrollclass 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>
Explore related projects
Loading…