smooth-pages

Adds smooth transititon between pages

Usage no npm install needed!

<script type="module">
  import smoothPages from 'https://cdn.skypack.dev/smooth-pages';
</script>

README

Smooth Pages

Adds smooth transition between pages.

Usage

You should initialize smooth pages in head before all other scripts.

NPM

Installation

npm install --save smooth-pages

Initialization

var smoothPages = require('smooth-pages');
smoothPages.init({overlayColor: '#fff'});

Browser globals

<script src="/build/smooth-pages.min.js"></script>
<script>
SmoothPages.init({overlayColor: '#fff'});
</script>