I want to make box which will change background-color with animation after hover on it but my jQuery script doesn't make any effect on div. However there are no errors.
$(document).ready(function(){
$("#box").hover(function () {
$(this).stop().animate({ backgroundColor: "#F00" },700)
}, function() {
$(this).stop().animate({ backgroundColor: "#AAA" },700)}
);
});
<div id="box" style="display:block; width: 500px; height: 100px; margin: 0 auto; background-color:red;"></div>