多項(xiàng)選擇題

讓id名為demo的元素以淡出的方式實(shí)現(xiàn)隱藏效果的正確寫(xiě)法是()。

A.$("#demo").animate({opacity:0},200)
B.$("#demo").fadeOut("fast")
C.$("#demo").animate({height:0},300)
D.$("#demo").fadeTo("fast",0)

微信掃碼免費(fèi)搜題