css的多值写法

opspider 2015-04-28

$('#msm_send').css('background', '#4EAFE1').css('cursor','pointer');

 改为

$('#msm_send').css({"background":"#4EAFE1","cursor":"pointer"});

相关推荐

aSuncat / 0评论 2020-08-18