CSSStyleDeclaration
The CSSStyleDeclaration
interface represents an object that is a CSS declaration block, and exposes style information and various style-related methods and properties.
Properties
The CSSStyleDeclaration.parentRule read-only property returns a CSSRule that is the parent of this style block, e.g., a CSSStyleRule representing the style for a CSS selector.
Functions
The CSSStyleDeclaration.getPropertyPriority() method interface returns a string that provides all explicitly set priorities on the CSS property.
The CSSStyleDeclaration.getPropertyValue() method interface returns a string containing the value of a specified CSS property.
The CSSStyleDeclaration.removeProperty()
method interface removes a property from a CSS style declaration object.
The CSSStyleDeclaration.setProperty()
method interface sets a new value for a property on a CSS style declaration object.