Created
January 28, 2014 23:04
-
-
Save danielhaim1/dcd2fe92cda977ecbc53 to your computer and use it in GitHub Desktop.
Toggle class on :hover
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.class').hover(function(){ | |
$(this).addClass('hover'); | |
}, function(){ | |
$(this).removeClass('hover'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment