Tuesday, February 16, 2016

[jQuery][CSS] 如何用 jQuery 控制 CSS

方法:
css({"propertyname":"value","propertyname":"value",...});

實作:
$("p").css({"background-color":"yellow","font-size":"200%"});

No comments:

Post a Comment