use*_*236 1 each jquery animation jquery-animate
我需要在另一个完成时启动动画?这是我有的:
$( "div.line" ).each(function() {
$( this ).animate({
height: "100%",
}, 1000 );
});
Run Code Online (Sandbox Code Playgroud)
尝试使用 .delay()
$("div.line").each(function (i) {
$(this).delay(i* 1000).animate({
height: "100%",
}, 1000);
});
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
69 次 |
| 最近记录: |