JQUERY NAV HOVER


/ Published in: jQuery



Copy this code and paste it in your HTML
  1. // Background color animation
  2. $(document).ready(function(){
  3. $(".first a").hover(function() {
  4. $(this).animate({ backgroundColor: "#00aadd" }, 600);
  5. },function() {
  6. $(this).animate({ backgroundColor: "#303030" }, 400);
  7. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.