Difference between revisions of "Team:Nankai/Team"
Line 22: | Line 22: | ||
hoverEffect: function () { | hoverEffect: function () { | ||
// Simple parallax effect | // Simple parallax effect | ||
− | + | $('#portfoliolist .portfolio').hover( | |
+ | function () {$(this).find('.label').stop().animate({bottom: 0}, 200, 'easeOutQuad'); | ||
+ | $(this).find('img').stop().animate({top: -30}, 500, 'easeOutQuad'); | ||
+ | }, | ||
function () { | function () { | ||
$(this).find('.label').stop().animate({bottom: -40}, 200, 'easeInQuad'); | $(this).find('.label').stop().animate({bottom: -40}, 200, 'easeInQuad'); |
Revision as of 08:21, 18 September 2015