fancy and fast scroll animations that fits any kind of style
npm install new-scroll-animations Fast and Fancy animations , Easy to use and perfect for any kind of style.. πβ¨π¨
code here...
`
$3
- You can download an offline copy for you project π΄ , just by clicking Download Zip up above ππ
Or
- you can use npm to install it , run the line below in your machine command line (need Node.js to be installed ) ππ
`
npm install scroll-aniamtions --save
`
OR
- You can use the CDN links below and include it directly to your project ππ
`
link.css
`
`
link.min.css
`
`
link.scss
`
`
link.js
`
`
link.min.js
`
π Usage
- After downloading files or adding CDN links , Add the data-scroll attribute to any element of your HTML code
example :
`
code here...
`
π Options
- version 1.0.0 comes with limited options for this library for now for sure ππ
- So How to Edit it ?
`
data-scroll='fade-up 2s hide'
`
- in order to work properly you need to add at least one property in the data-scroll attr and that would be the animation behavior like "fade-up , slide-up , blur ... etc "
see all examples on here Scroll Animations Examples
Example for one property
`
data-scroll='fade-up'
`
- By default animation duration is 1.5 seconds , but if you want to change it you can do it easily by adding second property beside the animation behavior like so ππ
`
data-scroll='fade-up .5s'
`
- If you want the parent element of the selected element to have over-flow hidden add so element start the animation on it's container only you need to add "hide" beside the duration property , like so π
`
data-scroll='fade-up .5s hide'
``