CSSImportRule object
Represents an @import rule within a Cascading Style Sheets (CSS) style sheet.
![]() ![]() |
DOM Information
Inheritance Hierarchy
CSSRule
CSSImportRule
Members
The CSSImportRule object has these types of members:
Properties
The CSSImportRule object has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read/write |
Sets or retrieves the persisted representation of the style rule. | |
|
Retrieves the location of the style sheet to be imported. | ||
|
Sets or retrieves a list of media types for which this style sheet is used. | ||
|
Retrieves the containing rule, if the current rule is contained inside another rule. | ||
|
Retrieves the style sheet that contains the current rule. | ||
|
Note For the style element, styleSheet is no longer supported. Starting with IE11, use sheet. For info, see Compatibility changes.
Retrieves an interface pointer that provides access to the style sheet object's properties and methods. | ||
|
Retrieves the type of the rule. |
Standards information
See also
Show:

