styleSheet property (CSSImportRule)
Returns the styleSheet object that is associated with the style file included by an @import at-rule.
This property only exists for the CSSImportRule object. With the styleSheet object, you can access the rules and at-rules in the style sheet. For further details, please see the page for the styleSheet object.
You can find the related objects in the Supported by objects section below.
This property is read-only.
Returns the styleSheet object belongs to the style file.
Default: this property has no default value.
Example HTML code 1:
This example illustrates the use of the styleSheet property:
Did you find this example helpful?
User Contributed Comments