要素のセットについて、要素のフォントを増減させ、次にそのクラスの次の要素などを増減させたい<div class="test"></div> <div class="test"></div> ....
. つまり
step 1: enlarging the first element and returning to normal size
step 2: enlarging the second element and returning to normal size
....
私の基本的なコードは
$(document).ready(function() {
$('.test').animate({
left:50,
fontSize: "2em"},
"slow")
.animate({
left:-50,
fontSize: "1em"},
"slow");
これにより、すべての要素が一度に影響を受けます。変更を 1 つずつ行うためのキューを作成するにはどうすればよいですか。一度に 1 つの拡大要素を持つ。