animate()メソッドで複数のCSSを操作する
animate()メソッドで width と height を変更して、アニメーションを表現しています。
jQuery Code
$(function() {
$("#photo img").animate({
"width": "600px",
"height": "400px"
}, "slow");
});
animate()メソッドで width と height を変更して、アニメーションを表現しています。
$(function() {
$("#photo img").animate({
"width": "600px",
"height": "400px"
}, "slow");
});