fAnimations is the simple pure js plugin for easy creating onscroll animations on your website.
I created it for use in my own projects, because the existing solutions wasn’t suitable for a various reasons, such as extra dependencies, the need to include additional stylesheets, incorrect work with positioning, superfluous functionality and so on.
The result is the lightweight, easy-to-use plugin for applying onscroll animations just by adding a several data-attributes. The plugin is great for use on any website, includes the most demanded animations and allows to create custom effects with just one line of code.
I would be glad if it will be useful for someone else
If you would like to use fAnimations in your theme/template, I will be glad to include a link to your project on this page. Just let me know via the e-mail that you have purchased an extended license and used the plugin in your work.
Animation speed, milliseconds.
Animation easing. Any valid CSS-transition value or one of the standart easing functions:
Animation delay, milliseconds.
Animation start trigger point relative to the viewport, % (from 0 to 100). 0 means the animation will start when the element hits the top of the viewport. 100 means the animation will start when the element enters the viewport.
The main animated property value before being animated. E.g., for the “slide-up” animation data-offset=”30” means the element’s position by Y-axis will be animated from 30px to 0px.