#jQuery #css .css() Get the css attribute value of the selected element with .css() or add the style attribute. grammar 1 .css( propertyName ) Add a style property. for example $( "h1" ).css( "color", "green" ); adds a style attribute to the h1 element and replaces the text color with green. ... example 1 Prints the value of the color attribute of the h1 element. Lorem ipsum dolor. example 2 Set..