codeGK
Code it ALL
jQuery css() Part1 - CodeGK

♦ jQuery css() Part1

♣ Example4: jQuery css() Part1

Sets CSS properties of HTML element(s).
Below is the representation of css() single-property Syntax.
Basic Syntax
css("property_name","property_value");
Syntax Explanation:
property_name : name of the property to be styled for HTML element
property_value : value of the property
In this example, single-property jQuery css() methods is illustrated.
Example
Input:
Output:
Css_classes