$(".gfwx").hover(function(){ $(this).find("img").css("display","block"); }) $(".gfwx").mouseleave(function(){ $(this).find("img").css("display","none"); })