ReadonlyCHARSET_ReadonlyCOUNTER_The cssText property of the CSSRule interface returns the actual text of a CSSStyleSheet style-rule.
ReadonlyFONT_ReadonlyFONT_ReadonlyIMPORT_ReadonlyKEYFRAME_ReadonlyKEYFRAMES_ReadonlyMARGIN_ReadonlyMEDIA_ReadonlyNAMESPACE_ReadonlyPAGE_ReadonlyparentThe parentRule property of the CSSRule interface returns the containing rule of the current rule if this exists, or otherwise returns null.
ReadonlyparentThe parentStyleSheet property of the CSSRule interface returns the StyleSheet object in which the current rule is defined.
ReadonlySTYLE_ReadonlySUPPORTS_ReadonlytypeThe read-only type property of the CSSRule interface is a deprecated property that returns an integer indicating which type of rule the CSSRule represents.
The
CSSRuleinterface represents a single CSS rule. There are several types of rules which inherit properties from CSSRule.MDN Reference