Interface CSSGroupingRule
interface CSSGroupingRule {
CHARSET_RULE: 2;
COUNTER_STYLE_RULE: 11;
cssRules: CSSRuleList;
cssText: string;
FONT_FACE_RULE: 5;
FONT_FEATURE_VALUES_RULE: 14;
IMPORT_RULE: 3;
KEYFRAME_RULE: 8;
KEYFRAMES_RULE: 7;
MEDIA_RULE: 4;
NAMESPACE_RULE: 10;
PAGE_RULE: 6;
parentRule: CSSRule;
parentStyleSheet: CSSStyleSheet;
STYLE_RULE: 1;
SUPPORTS_RULE: 12;
type: number;
deleteRule(index: number): void;
insertRule(rule: string, index?: number): number;
}
CHARSET_RULE: 2;
COUNTER_STYLE_RULE: 11;
cssRules: CSSRuleList;
cssText: string;
FONT_FACE_RULE: 5;
FONT_FEATURE_VALUES_RULE: 14;
IMPORT_RULE: 3;
KEYFRAME_RULE: 8;
KEYFRAMES_RULE: 7;
MEDIA_RULE: 4;
NAMESPACE_RULE: 10;
PAGE_RULE: 6;
parentRule: CSSRule;
parentStyleSheet: CSSStyleSheet;
STYLE_RULE: 1;
SUPPORTS_RULE: 12;
type: number;
deleteRule(index: number): void;
insertRule(rule: string, index?: number): number;
}
Hierarchy
Properties
Readonly
CHARSET_RULE
CHARSET_RULE : 2
Readonly
COUNTER_STYLE_RULE
COUNTER_STYLE_RULE : 11
Readonly
cssRules
cssText
cssText : string
Readonly
FONT_FACE_RULE
FONT_FACE_RULE : 5
Readonly
FONT_FEATURE_VALUES_RULE
FONT_FEATURE_VALUES_RULE : 14
Readonly
IMPORT_RULE
IMPORT_RULE : 3
Readonly
KEYFRAME_RULE
KEYFRAME_RULE : 8
Readonly
KEYFRAMES_RULE
KEYFRAMES_RULE : 7
Readonly
MEDIA_RULE
MEDIA_RULE : 4
Readonly
NAMESPACE_RULE
NAMESPACE_RULE : 10
Readonly
PAGE_RULE
PAGE_RULE : 6
Readonly
parentRule
Readonly
parentStyleSheet
Readonly
STYLE_RULE
STYLE_RULE : 1
Readonly
SUPPORTS_RULE
SUPPORTS_RULE : 12
Readonly
type
type: number
Any CSS at-rule that contains other rules nested within it.
MDN Reference