How to fade in a div on page load?

后端 未结 3 1708
被撕碎了的回忆
被撕碎了的回忆 2021-02-08 07:44

I\'m using jQuery. I need a div to fade in when the page loads.

How can I achieve this?

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-08 08:26

    jQuery/fadeIn

    $(function() {
        $("#monster").fadeIn();
    });
    

提交回复
热议问题