Skip to content
Projects

bendc/anchor-scroll

View on GitHub

About

Smooth and lightweight anchor scrolling library

Developer Tools

How these counts are measured

Measured 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

Original

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>

Explore related projects

Loading…