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"
});
 
原文地址:https://www.cnblogs.com/tongzhou/p/6795262.html