jquery设置css,animate设置多个属性

$("p").css("color","red");
$("p").css({
  "font-size":"8px",
  "background-color":"#8888888"
});

$("div").animate({"width":"200px"});
$("div").animate({  "width":"200px",  "height":"300px"});
相关文章
相关标签/搜索