animate方法的第一个参数可以设置为下列哪些选项
A: {"width":"100px","height":"100px"}
B: {"width":"+=100px","height":"+=100px"}
C: function(){alert("动画完成了")}
D: "height"
A: {"width":"100px","height":"100px"}
B: {"width":"+=100px","height":"+=100px"}
C: function(){alert("动画完成了")}
D: "height"
举一反三
- 关于jQuery中自定义动画方法animate()的使用方法,正确的是(): $("div").animate("width","100px")|$("div").animate(400,{"width":"100px","height":"100px"})|$("div").animate({"height":"+=50px"})|$("div").animate({"height":"500px";"width":"500px"})
- 关于jQuery中自定义动画方法animate()的使用方法,正确的是 A: $("div").animate(400,{"width":"100px","height":"100px"}) B: $("div").animate("width",100px") C: $("div").animate({"height":"500px","width":"500px"}) D: $("div").animate({"height":"+=50px"})
- CSS3中,设置盒子尺寸为宽度100px,高度120px A: div{width:120px;height:100px} B: div{height:120px;width:100px}
- 对于<;div style="width:100px,height:100px;background:red">;<;/div>;,可实现与代码$("div").slideUp(400)同样效果的是( ) A: $("div").animate({"width":"0px","height":"0px"}) B: $("div").animate({"width":"0px","height":"100px"}) C: $("div").animate({"height":"0px"}) D: $("div").animate("height","0px")
- 代码div{width:100px;height:100px;}表示( )?