jQuery Plugin For Hardware Accelerated CSS3 Animations - Minimit Anima

jQuery Plugin For Hardware Accelerated CSS3 Animations - Minimit Anima
File Size: 20.9KB
Views Total:
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

Minimit Anima is a jQuery plugin for Hardware accelerated CSS3 transitions and transforms with fallback on older browsers. By default the anima method do automatic fallback animations on browsers without transitions or transform3d, and instant animations on browsers without transform.

Basic Usage:

1. Include jQuery javascript library and jQuery Minimit Anima plugin on the web page

<!--[if lt IE 9]>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<![endif]-->
<!--[if gte IE 9]><!-->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<!--<![endif]-->
<script src="minimit-anima.js" type="text/javascript"></script>

2.Use the anima method to have automatic fallback:

$(this).anima({x:20, y:20}, 400, ".19,1,.22,1", {complete:function(){$(this).anima({x:-20, y:-20}, 400, "linear");}}

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