Advertisement
Guest User

hover

a guest
Oct 23rd, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   $(".hover-shadow").hover(
  2.       function() {
  3.         $(this).addClass('shadow-lg').css('cursor', 'pointer');
  4.       }, function() {
  5.         $(this).removeClass('shadow-lg');
  6.       }
  7.     );
  8.     $(".hover-shadow-sm").hover(
  9.       function() {
  10.         $(this).addClass('shadow-sm').css('cursor', 'pointer');
  11.       }, function() {
  12.         $(this).removeClass('shadow-sm');
  13.       }
  14.     );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement