Hover animation


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $(".sidebar-hover li a, ul.menu li ul li a").hover(function() {
  2. $(this).stop().animate({
  3. borderWidth: "10px",
  4. borderLeftColor: "#47D322"
  5. }, 150);
  6. },function() {
  7. $(this).stop().animate({
  8. borderWidth: "0px",
  9. borderLeftColor: "#202020"
  10. }, 150);
  11. });
  12. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.