jQuery css() Method
The css() method sets or returns one or more style properties for the selected elements.Return a CSS Property
To return the value of a specified CSS property, use the following syntax:
css("propertyname");
Set a CSS Property
To set a specified CSS property, use the following syntax:
css("propertyname","value");
Set Multiple CSS Properties
To set multiple CSS properties, use the following syntax:
css({"propertyname":"value","propertyname":"value",...});
No comments:
Post a Comment