9 Scroll-triggered Animations For jQuery - jQuery EasyMotion

File Size: 3.38 KB
Views Total: 1129
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
9 Scroll-triggered Animations For jQuery - jQuery EasyMotion

EasyMotion is a small and easy-to-use jQuery plugin for implementing scroll-triggered and CSS3 powered animations on elements within the document.

The plugin detects the scroll event and applies a specific animation to your element once it comes into view.

How to use it:

1. load the jQuery EasyMotion plugin's script 'easymotion.js' after loading the latest jQuery library (slim build is recommended).

<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" 
<script src="easymotion.js"></script>

2. Add an animation of your choice to the element using the animation attribute. All possible animations:

  • fade: fade in animation
  • left-to-right: left ro right
  • right-to-left: right to left
  • bottom-to-top: bottom to top
  • top-to-bottom: top to bottom
  • rotate: anticlockwise rotation
  • rotate-c: clockwise rotation
  • scale: scale
  • scale-rotate: scale+rotate
<div class="box" 
     <h3>jQuery Script<h3>

3. Specify the duration of the scroll animation using the animation-time attribute:

<div class="box" 
     <h3>jQuery Script<h3>

4. Specify the offset at which point to trigger the animation.

<div class="box" 
     <h3>jQuery Script<h3>



  • v0.0.8

This awesome jQuery plugin is developed by tvinzz. For more Advanced Usages, please check the demo page or visit the official website.