Skip to content

Instantly share code, notes, and snippets.

@ckahle33
Created May 7, 2014 21:46
Show Gist options
  • Save ckahle33/7e83e1735bfe98fe3767 to your computer and use it in GitHub Desktop.
Save ckahle33/7e83e1735bfe98fe3767 to your computer and use it in GitHub Desktop.
$(function(){
$('#img').on({ mouseenter: function(){
$(this).find('.text-overlay').css("display", "block"); },
mouseleave: function() {
$(this).find('.text-overlay').css("display", "none");
}
})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment