jQuery: FadeOut then SlideUp

前端 未结 6 2106
遥遥无期
遥遥无期 2020-12-04 11:13

If an item is being deleted then I would like to fade it out and slide the other elements up to fill the empty space. Now, when I use fadeOut() the item doesn\'

6条回答
  •  甜味超标
    2020-12-04 12:11

    Try $('.row').animate({ height: 'toggle', opacity: 'toggle' }, 'slow').slideUp();

    demo Here

提交回复
热议问题