How to decrease padding slowly in jquery?

    You can use animate to decrease padding slowly by specifying slow in animate function.
     
    $('#link1').click(function() {
      $("#block").animate({
          'padding-top' : 0,
          'padding-right' : 0,
          'padding-bottom' : 0,
          'padding-left' : 0,
        }, "slow");
    });
    0