Search
Close this search box.
Search
Close this search box.

GSAP

Using GSAP animations on hover

$(function (){
var thumb = $('.item');
thumb.hover(
function(e) { //mouseover
    TweenLite.to($(this), 0.3, { backgroundColor: 'black' });
        },
function(e) { //mouseout
    TweenLite.to($(this), 0.3, { backgroundColor: 'white' });
        });
});

Learning Resources