Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nav ul {
- margin-left: 150px }
- $('header')
- .mouseleave(function() {
- $('nav ul').animate({ 'margin-left': '0px' }, 250 );
- })
- .mouseenter(function() {
- $('nav ul').animate({ 'margin-left': '150px' }, 250 );
- });
- $('.main-wrapper')
- .mousemove(function() {
- $('nav ul').animate({ 'margin-left': '0px' }, 250 );
- });
Add Comment
Please, Sign In to add comment