swift-scroll
v1.0.3
Published
One Page Scroll Plugin
Downloads
13
Maintainers
Readme
Swift-scroll
Super lightweight one page scroll library
Made with vanilla js and ♥
less than 1kb
Usage
npm install --save swift-scroll
Include swift-scroll.css && swift-scroll.js
or
Include CDNs
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swift-scroll/dist/swift-scroll.css">
And at the end of your body tag
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/swift-scroll/dist/swift-scroll.js"></script>
<div id="well">
<div class="panel">one</div>
<div class="panel">two</div>
<div class="panel">three</div>
...
</div>