版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_30071413/article/details/84196535
$("#content").animate({"margin-top":"100px"},1000);
注意不需要设置position,且不能设置为 absolute
$("#content").animate({"margin-top":"100px"},1000);
注意不需要设置position,且不能设置为 absolute