일부 효과를 사용하여 탐색을하려고하지만 jquery 코드가 예상대로 작동하지 않습니다. 사실이 CSS 문을 백그라운드로 전달하고 싶습니다. #ccc url ('image.jpg') no-repeat; 기능을 움직이게한다.jquery의 CSS 및 animate()
어떻게 수행하나요?
You need jQuery color plugin to animate colors.
<ul>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
</ul>
$('ul li').hover(function() {
$(this).animate({
'background' : '#ccc'
}, 'fast');
}
});