codeGK
Code it ALL
jQuery css() Part2 - CodeGK

♦ jQuery css() Part2

♣ Example4: jQuery css() Part2

Below is the representation of css() multi-property Syntax.
Basic Syntax
css({"property_name_1":"property_value_1","property_name_2":"property_value_2", "property_name_3":"property_value_3", ...});
Syntax Explanation:
property_name_1, property_name_2, property_name_3, .. : properties to be styled for HTML elements
property_name_1, property_name_2, property_name_3, .. : values of properties, are totally same as css styling values
In this example, multi-property jQuery css() methods is illustrated.
Example
Input:
Output:
Css_classes