1
아래 코드에서 마우스를 놓은 후 div에 마우스를 올려 놓고 마우스를 놓으면 페이드 아웃합니다. 이 작업을 수행하는 가장 쉬운 방법은 무엇입니까?fadeto에서 슬라이드 업으로 전환
$(window).load(function(){
$('div.description').each(function(){
$(this).css('opacity', 0);
$(this).css('width', $(this).siblings('img').width());
$(this).parent().css('width', $(this).siblings('img').width());
$(this).css('display', 'block');
});
$('div.wrapper').hover(function(){
$(this).children('.description').stop().fadeTo(700, 0.8);
},function(){
$(this).children('.description').stop().fadeTo(700, 0);
});
});