How can I fade out a div using jQuery?

前端 未结 7 1955
孤街浪徒
孤街浪徒 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 10:25

    How about the fadeOut() function. Would look something like this:

    $("#myDiv").fadeOut(5000);
    
    0 讨论(0)
提交回复
热议问题