$("p").css("background-color"); alert("Background color = " + $("p").css("background-color"));css("propertyname","value");$("p").css("background-color","yellow");css({"propertyname":"value","propertyname":"value",...});$("p").css({"background-color":"yellow","font-size":"200%"});
jQuery css() 方法
最新推荐文章于 2014-09-15 13:53:25 发布