JohnPaulDesign
11/7/2016 - 1:14 PM

Hovers with jQuery and GSAP

Hovers with jQuery and GSAP

function zoom1(){
    TweenMax.to($(this).find('.element'), 0.1, {scale: 1.02, ease:Sine.easeIn});
}
function zoom0(){
    TweenMax.to($(this).find('.element'), 0.1, {scale: 1, ease:Sine.easeInOut});
}
$(".element").hover(zoom1, zoom0);