私はこのデモを持っています:
$(document).ready(function(e) {
$(".footer-list li").mouseover(function() {
$(this).animate({ backgroundColor: "#d31d4a" }, 1500);
// $(this).css("background-color", "#d31d4a");
});
});
アニメーションコードが機能せず、理由がわかりません!!
を使用する.css
と問題なく動作します。
誰かが問題が何であるか教えてもらえますか?