![]() |
VOOZH | about |
The parentRule property is used to return the CSSRule Object that represents a CSS rule-set that contains selector and declaration block.
Syntax: It is used to return the parentRule property.
object.parentRule
Return Value: It returns the CSSRule object.
Example: To return the parentRule property:
Output:
Supported Browsers: The browsers supported by Style Declaration parentRule Property are listed below: