Simulate hover on touch devices
function touchHover() { $('.project').on('touchstart', function(e){ var t = $(this); t.addClass('hover'); }); $('.project').on('touchend', function(e){ var t = $(this); t.removeClass('hover'); }); }