Menu

animate()メソッドで複数のCSSを操作する

さくら

animate()メソッドで width と height を変更して、アニメーションを表現しています。

jQuery Code

$(function() {
	$("#photo img").animate({
		"width": "600px",
		"height": "400px"
	}, "slow");
});

jQuery.com 公式ドキュメント

Chapter 6