type property
Retrieves the type of the rule.
![]() ![]() |
Syntax
| JavaScript | |
|---|
Property values
Type: Number
the type of the rule. Binding-specific casting methods can be used to cast down from an instance of the IHTMLCSSRule interface to the specific derived interface implied by the type.
-
The object is a style rule (a selector and a declaration block).
-
The object is an @import rule.
-
The object is an @media rule.
-
The object is an @font-face rule.
-
The object is an @page rule.
-
The object is an @namespace rule.
Standards information
See also
Show:

