CSS Methods

css Method:

The css method (used in many code examples in this documentation) applies css to the selected element(s).

main selector flags: all, odd, even, single, and, range

Parameters

param 1: A string of the css text

param 2: A boolean stating whether or not to append the css

CSSVal Method:

The CSSVal method checks the selected element for a particular css value.

main selector flags: single

Parameters

param 1: A string value of the css property

param 2 (optional): A string value of the assumed value of the css property. If this parameter is not used then the CSSVal method will output the value of the specified css property.