Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
JS: Mouse Enter and Leave Effect
function hover_line() {
$('#left li').mouseenter(function() {
$(this).addClass("hovered");
}).mouseleave(function() {
$(this).removeClass("hovered");
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment