$('a').hover(function(){
$(this).stop();
$(this).animate({
color: '#22373A'
}, 'slow');
}, function(){
$(this).stop();
$(this).animate({
color: '#fe57a1'
}, 'slow');
});
호 호버링 할 때 요소의 불투명도를 변경하려면이 방법을 사용하지만 색상 변경에는 효과가없는 것처럼 보입니다. 어떤 아이디어 또는 제안?링크 색상의 페이드 효과
관련 dennym documentation으로 당
http://api.jquery.com/animate/ 1 항 * * ...하지만 배경색은 jQuery.Color() 플러그인을 사용하지 않는 한 불가능합니다. * – Yoshi
yoshi 님, 도움이 되었어요. 마침내 전환으로 전환했습니다. :) –