solar-animations
v1.0.14
Published
Lightweight and simple animate on scroll
Downloads
11
Readme
Solar Animations
Lightweight and simple animate on scroll
Getting Started
Installing
Install package:
npm i solar-animations
Import script, styles and initialize:
import solarAnimations from 'solar-animations';
import 'solar-animations/dist/solar-animations.min.css';
// ..
solarAnimations();
Usage
Add data-solar
attributes to elements you want animated
<div data-solar="fade-up"></div>