How can I fade out a div using jQuery?

前端 未结 7 1974
孤街浪徒
孤街浪徒 2020-12-05 09:46

Is there any way to fadeout a div after 5 Seconds without using a setTimeOut function?

7条回答
  •  生来不讨喜
    2020-12-05 09:59

    Assuming you mean 'wait five seconds and then fade out', I think you'll have to use a plugin to force the delay, eg this one

提交回复
热议问题