jq 设置 css 多个样式的改变

$("#xxx").css("margin-left","val");
$("#xxx").css({"margin-left": "val", "background-color": "blue" });

posted @ 2016-05-06 11:53  .An  阅读(2974)  评论(0编辑  收藏  举报