CSS anim
jQuery
$('#test1').transform({ origo: [100, 0], opacity: 0.1 }, 500, function() { $(this).transform({ position: [undefined, -20], scale: 1.5, rotate: 30, opacity: 1 }, 2000, function() { $(this).transform({ position: [-50, 0], scale: 1 }, 1000); }); }); $('#test2').transform({ origo: [100, 0], opacity: 0.1 }, 500, true, function() { $(this).transform({ position: [undefined, -20], scale: 1.5, rotate: 30, opacity: 1 }, 2000, true, function() { $(this).transform({ position: [-50, 0], scale: 1 }, 1000, true); }); });
Run!
Reset!