也可以定义相对值(该值相对于元素的当前值)。需要在值的前面加上 += 或 -=:
$("button").click(function(){ $("div").animate({ left:‘250px‘, height:‘+=150px‘, width:‘+=150px‘ }); });
jQuery animate() - 使用相对值 在值的前面加上 += 或 -=
原文:http://www.cnblogs.com/zyjzz/p/6973703.html