Is it possible to slideToggle a div with Easing and set a min-height?

后端 未结 3 1895
天命终不由人
天命终不由人 2021-01-13 17:44

I have a div of which collapse and expands using slideToggle and easing.

$(\'button\').click(function () {
    $(\'div\').slideToggle(\'2000\', \"easeOutBoun         


        
3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-13 18:14

    I suggest that you play it tricky;

    why dont you have a div above the sliding div that has the same width and color so that it is always displayed and appears as part of the sliding part

提交回复
热议问题