jQuery .css() method can be used to set one or more CSS properties for every matched element.
Setting single CSS property$('p').css( "background-color", "yellow" );
Setting multiple CSS propertes
$('div.header').css({"background-color": "yellow","font-weight": "bold" });
Read More
jQuery API - .css() Method
No comments:
Post a Comment